aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fa598e7..c8fd9c7 100644
--- a/Makefile
+++ b/Makefile
@@ -56,6 +56,7 @@ bin/cerberus: $(OBJ)
$(CC) $(LD_FLAGS) -o "$@" $^
+obj/cerberus.o: $(foreach H, $(SRC), src/$(H).h)
obj/%.o: src/%.c src/%.h src/config.h
@mkdir -p obj
$(CC) $(CC_FLAGS) -o "$@" -c "$<"