[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
David A. Greene
Thu, 7 Feb 2008 18:11:26 -0600
I have a build system where some .mk files get generated to specify
additional dependencies. One of these .mk files can't be generated
until some tools have been built. Those tools generate other files which
are queried to generate the .mk file. The .mk files are included at the
end of the Makefile in the usual way.
Here's the twist. there are rules like this (illustrative):
The .mk files are stored in $(BUILDDIR)/make.
Perhaps you can see where I'm going. If I invoke the debug rule I don't
want to have to generate the .mk files and the programs that are involved
in generating them twice (once in the "original" BUILDDIR and once in
Is there a way to have make ignore some include directives if certain
rules are invoked? Or is there some other way to do what I want.
I inherited this build system and there are various constraints that
make serious reengineering impossible.
|[Prev in Thread]
||[Next in Thread]|
- Generating Makefiles,
David A. Greene <=