Re: GNU Make problem with $(shell ... )

2001-12-03 Thread Paul D. Smith
%% [EMAIL PROTECTED] writes: tm> Now it gets a little more complicated because the contents of tm> INFO_FILE get modified during the build, and I only want to tm> evaluate FOO after INFO_FILE has been modified However what I'm tm> finding is that if I modify the contents of INFO_FILE and

RE: GNU Make problem with $(shell ... )

2001-12-03 Thread Tim . Mason
[EMAIL PROTECTED] wrote: > > All the variables and functions in a rule script are evaluated before > the first line is run. For example, in: > > foo: > echo $(FOO) > echo $(BAR) > > Make goes: > > evaluate FOO, evaluate BAR, run echo $(FOO), run echo $(BAR) > > and NOT:

RE: GNU Make problem with $(shell ... )

2001-12-03 Thread Paul D. Smith
%% [EMAIL PROTECTED] writes: tm> Every time I build an executable I append some information about the tm> build to a log file. This is done with a perl script called in one of tm> the makefile rules. The script tags this information with a unique tm> serial number, and sends this number t