summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-08-26 10:32:28 +0200
committerStefan Metzmacher <metze@samba.org>2008-08-26 11:12:32 +0200
commit467e3f7760c438cba468cc4b39c66d3ce4b79c95 (patch)
treeba708a3cab21fae74d6d7c2723762653d53cddf2
parent3010e5e48979bf174547e4f00389dbade7b414d2 (diff)
downloadsamba-467e3f7760c438cba468cc4b39c66d3ce4b79c95.tar.gz
samba-467e3f7760c438cba468cc4b39c66d3ce4b79c95.tar.bz2
samba-467e3f7760c438cba468cc4b39c66d3ce4b79c95.zip
build: generate :: rules for automatic dependencies
metze (This used to be commit 66d8da17a4c3543e133452f9a87702a2a8fb609c)
-rw-r--r--source4/build/make/rules.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/make/rules.mk b/source4/build/make/rules.mk
index f8df8f0b53..0beb0e2e11 100644
--- a/source4/build/make/rules.mk
+++ b/source4/build/make/rules.mk
@@ -2,10 +2,10 @@
# This relies on GNU make.
#
# Dependencies command
-DEPENDS = $(CC) -M -MG -MP -MT $(<:.c=.o) -MT $@ \
+DEPENDS = $(CC) -M -MG -MP -MT $(<:.c=.o) -MT $@ -MT : \
$(CFLAGS) $(CPPFLAGS) $< -o $@
# Dependencies for host objects
-HDEPENDS = $(CC) -M -MG -MP -MT $(<:.c=.ho) -MT $@ \
+HDEPENDS = $(CC) -M -MG -MP -MT $(<:.c=.ho) -MT $@ -MT : \
$(HOSTCC_FLAGS) $(CPPFLAGS) $< -o $@
# Dependencies for precompiled headers
PCHDEPENDS = $(CC) -M -MG -MT include/includes.h.gch -MT $@ \