[lug] OT: More Makefile
D. Stimits
stimits at idcomm.com
Wed May 1 12:18:12 MDT 2002
Tom Tromey wrote:
>
> >>>>> ">" == D Stimits <stimits at idcomm.com> writes:
>
> >> What is a good modular way to conditionally include a second
> >> Makefile inside of a main Makefile if and only if the second
> >> Makefile is present?
>
> You can use `-include' to include a Makefile iff it exists.
> That may not do what you want, though. A lot depends on the
> particular case.
This actually does the job. It meant moving it out of bash script area
(which is really an improvement), and back into plain old make.
D. Stimits, stimits at idcomm.com
More information about the LUG
mailing list