From f9a175ae24f301597b489e02191a4b740cee1f4b Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 5 Sep 2006 14:31:44 +0000 Subject: r18095: correctly rebuild the dependencies not only the object file metze (This used to be commit 8e0497c5d217470bef5bd537c5d2b7be9ae89602) --- source4/main.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4') diff --git a/source4/main.mk b/source4/main.mk index 6be785e0ce..79876854f1 100644 --- a/source4/main.mk +++ b/source4/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 \ -- cgit