Commit 67cf8224 authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Require the static library to be up to date

parent 92e63243
......@@ -4,8 +4,11 @@ TESTS=test-format test-parser test-object test-handle
all: $(TESTS)
test-%: test-%.o
$(CC) -o $@ $(REAL_LDFLAGS) $< ../$(STLIBNAME)
../$(STLIBNAME):
cd .. && $(MAKE) $(STLIBNAME)
test-%: test-%.o ../$(STLIBNAME)
$(CC) -o $@ $(REAL_LDFLAGS) $^
.c.o:
$(CC) -std=c99 -pedantic -c -O0 $(REAL_CFLAGS) $<
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment