[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 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
- including makefiles,
Noel Yap <=