1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-07 01:58:28 +03:00

r18095: correctly rebuild the dependencies not only the object file

metze
(This used to be commit 8e0497c5d217470bef5bd537c5d2b7be9ae89602)
This commit is contained in:
Stefan Metzmacher 2006-09-05 14:31:44 +00:00 committed by Gerald (Jerry) Carter
parent c91a27fd80
commit f9a175ae24

View File

@ -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 \