help-make
[Top][All Lists]
Advanced

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

Re: including makefiles


From: Noel Yap
Subject: Re: including makefiles
Date: Fri, 07 May 2004 16:24:17 -0400
User-agent: Mozilla Thunderbird 0.5 (Windows/20040212)

Never mind, I got it.

Thanks,
Noel

Noel Yap wrote:

I have the following situation:

# GNUmakefile
FOO := blah
include GNU$(FOO).mk
include GNU$(BAR).mk


in which GNUblah.mk defines BAR.  This produces the following error:

GNUmakefile:4: GNU.mk: No such file or directory
gmake: *** No rule to make target `GNU.mk'.  Stop.


presumably because at the time the makefile is parsed, BAR is not yet defined. Is there a way to do what I want?

Thanks,
Noel


_______________________________________________
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]