bug-make
[Top][All Lists]
Advanced

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

Re: target variable expansion with included make files


From: Boris Kolpackov
Subject: Re: target variable expansion with included make files
Date: Thu, 5 Aug 2004 17:45:33 +0000 (UTC)
User-agent: nn/6.6.5+RFC1522

"Brad Kemp" <address@hidden> writes:

> What I am trying to do is to build a project out of many sub projects.
> As each sub project is updated, I want the final target pathname to reflect
> the new revision level without having to change the main makefile.
> This allows me to build multiple versions of the same project.

Still not very clear so I am just guessing... You can, for example, include
makefiles in right order, e.g.,

# a.make

a_revision := 1

a:= $(a_revision)/a.so


# b.make

b_revision := 2

b:= $(b_revision)/b/so



# makefile

include a.make
include b.make

all: $(a) $(b)


-boris





reply via email to

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