summaryrefslogtreecommitdiff
path: root/source4/build/make
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/make')
-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 $@ \