help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Not rebuilding dependencies


From: Marc Martinez
Subject: RE: Not rebuilding dependencies
Date: Thu, 16 Aug 2001 09:57:39 +0200

Makedepend $(CFLAGS) $(LST_SOURCES_C)

This command generate a list
# DO NOT DELETE
your_obj.o: dependence.h


-----Message d'origine-----
De : Jason Elbaum [mailto:address@hidden
Envoye : jeudi, 16. aout 2001 09:50
A : address@hidden
Objet : Not rebuilding dependencies


Is it possible to define a make rule such that the target will be
(re)built if the dependency has changed, but no attempt will be made to
rebuild the dependency? That is, in:

a: b

If b has been changed, a will be rebuilt from it. If b has not been
changed (or doesn't exist), no action will be taken even if b's
dependencies have changed.


Can this only be done by putting this rule in a separate makefile?


Thanks,


Jason Elbaum
address@hidden

_______________________________________________
Help-make mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-make



reply via email to

[Prev in Thread] Current Thread [Next in Thread]