diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-09-05 14:31:44 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:17:15 -0500 |
commit | 8e0497c5d217470bef5bd537c5d2b7be9ae89602 (patch) | |
tree | 27770184abfdd03bff530985e83f90794f740c5c /source/main.mk | |
parent | 3c00983e2cda2ea55585c25926014e7374d613ce (diff) | |
download | samba-8e0497c5d217470bef5bd537c5d2b7be9ae89602.tar.gz |
r18095: correctly rebuild the dependencies not only the object file
metze
Diffstat (limited to 'source/main.mk')
-rw-r--r-- | source/main.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/main.mk b/source/main.mk index 6be785e0cef..79876854f1f 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 \ |