[Top][All Lists]

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

including makefiles

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

I have the following situation:

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

in which defines BAR.  This produces the following error:

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

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


reply via email to

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