On Wednesday 10 December 2003 07:22 am, Noel Yap wrote: > I'm trying to emulate "include" with the following: > > aoeu.mk: > touch $@
This rule won't be executed until the makefile is completely parsed. > -include aoeu.mk > > ifeq ($(wildcard aoeu.mk),) > $(error aoeu.mk: No such file or directory) > endif This part gets executed as the makefile is being parsed. So the rule never has a chance to fire since the ifeq gets parsed first. > > ---------------------------------------------------- > but it's the error gets emitted all the time. Is there a way to do what I > want? > > I'm starting to think I'm going to need the "re-exec count" feature in > order to do this. > > Thanks, > Noel _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
