summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2012-12-11 01:39:00 +0100
committerBertrand Jacquin <beber@meleeweb.net>2012-12-11 01:39:00 +0100
commit26e0b48f2ec528d9cde41a93c48f51d7b631d79a (patch)
tree5097a8c7f9bdbbde9e0f0311a5dc104d5041840e
parent[CLEANUP] Move %.c compilation before libary build (diff)
downloadmod_virtualvalue-26e0b48f2ec528d9cde41a93c48f51d7b631d79a.tar.gz
[BUILD] Rebuild %.o if a header has benn modified
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b7efce0..1997d1e 100644
--- a/Makefile
+++ b/Makefile
@@ -98,7 +98,7 @@ strip-static: $(NAME).a.strip
strip-shared: $(NAME).so.strip
strip: strip-shared
-%.o: %.c
+%.o: %.c %.h
$(call quiet_cmd,CC,$@)
$(Q)$(CC) -c $(SPEC_CFLAGS) $(CFLAGS) -o $@ $<