aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f088418..0989c41 100644
--- a/Makefile
+++ b/Makefile
@@ -139,7 +139,7 @@ bin/test: $(foreach O,$(TESTOBJ),obj/test/$(O).o) bin/libgamma.so.$(LIB_VERSION)
mkdir -p $(shell dirname $@)
$(CC) $(TEST_FLAGS) $(LIBS_LD) -Lbin -lgamma -o $@ $(foreach O,$(TESTOBJ),obj/test/$(O).o)
-obj/test/%.o: src/test/%.c
+obj/test/%.o: src/test/%.c src/lib/libgamma*.h
mkdir -p $(shell dirname $@)
$(CC) $(TEST_FLAGS) -Isrc/lib -c -o $@ $<