]> Pileus Git - lackey/commitdiff
Add build dependency on config.mk
authorAndy Spencer <andy753421@gmail.com>
Sun, 16 Jun 2013 07:21:38 +0000 (07:21 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sun, 16 Jun 2013 07:21:38 +0000 (07:21 +0000)
makefile

index 8d76a502be0b0c945af808a4297822e30668bf61..5dde712bc6c3a0af533208cf76b0356f56e421b2 100644 (file)
--- a/makefile
+++ b/makefile
@@ -57,7 +57,7 @@ $(PROG): $(PROG_SRC:%=src/%.o) $(VIEWS:%=views/%.o) $(CALS:%=cals/%.o)
 $(TEST): $(TEST_SRC:%=src/%.o) $(CALS:%=cals/%.o)
        $(GCC) $(CFLAGS) -o $@ $+ $(LDFLAGS)
 
-%.o: %.c $(wildcard src/*.h) makefile
+%.o: %.c $(wildcard src/*.h makefile config.mk)
        $(GCC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
 
 .PHONY: all clean dist install uninstall