summaryrefslogtreecommitdiff
path: root/source/main.mk
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-07 09:38:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:50 -0500
commit5ecf98cc189039023ff0a97f43eba7fb2c2cdc46 (patch)
tree159d620d5be074b14ea63c0539b3118bef3d4ffd /source/main.mk
parentbda5c3c0e39de0ae2d4686a8746cc7ee1cc9d18f (diff)
downloadsamba-5ecf98cc189039023ff0a97f43eba7fb2c2cdc46.tar.gz
r18210: - reenable autodependencies
- and add -MT $@ to the dependency generation to notice changes in depdendecies of header files you may need a 'make clean' or at least you need to remove heimdal_build/replace.hd metze
Diffstat (limited to 'source/main.mk')
-rw-r--r--source/main.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/main.mk b/source/main.mk
index cb8dbc18485..84a8f60544e 100644
--- a/source/main.mk
+++ b/source/main.mk
@@ -317,15 +317,15 @@ unused_macros:
.c.d:
@echo "Generating dependencies for $<"
- @$(CC) -M -MG -MP -MT $(<:.c=.o) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $< -o $@
+ @$(CC) -M -MG -MP -MT $(<:.c=.o) -MT $@ `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $< -o $@
.c.hd:
@echo "Generating host-compiler dependencies for $<"
- @$(CC) -M -MG -MP -MT $(<:.c=.ho) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $< -o $@
+ @$(CC) -M -MG -MP -MT $(<:.c=.ho) -MT $@ `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $< -o $@
include/includes.d: include/includes.h
@echo "Generating dependencies for $<"
- @$(CC) -M -MG -MT include/includes.h.gch $(CFLAGS) $< -o $@
+ @$(CC) -M -MG -MT include/includes.h.gch -MT $@ $(CFLAGS) $< -o $@
.c.o:
@if test -n "$(CC_CHECKER)"; then \