help-make
[Top][All Lists]
Advanced

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

Re: supporting multiple independent checkouts of a project


From: Robert P. J. Day
Subject: Re: supporting multiple independent checkouts of a project
Date: Sun, 12 Feb 2006 08:28:37 -0500 (EST)

On Sun, 12 Feb 2006, Nick Patavalis wrote:

> On Sun, Feb 12, 2006 at 07:31:25AM -0500, Robert P. J. Day wrote:
> >
> >   in addition, the project had a directory of .mk files that were
> > being "include"d from other makefiles.  in order to be able to pick
> > these up, i created a project-specific alias "fredmake":
> >
> >   $ alias fredmake="make -I${FRED_DIR}/mkfiles"
> >
> > where that top-level mkfiles/ directory contained all of those utility
> > makefiles.
> >
>
> This is certainly a possibility. Another, not involving the creation
> of an alias, would be to replace every instance of
>
>   include bar/foo.mk
>
> with
>
>   include $(FRED_DIR)/bar/foo.mk

i hadn't considered that, but i'd prefer to keep those internal
makefile includes project-independent since my goal is to collect all
generally-useful includable makefiles in a single place and let *any*
project include them, so i want to keep project names out of there.

rday




reply via email to

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