Hi,
I have the following scenario:
-------------------------------------
#The contents of the file "foo" are captured in a variable.
ENV_FILE_CONTENTS := $(shell cat foo)

#pre-requisites for TARGET1 are identified
$(TARGET1)::     $(ENV_FILE_CONTENTS) \
                  $(PREQ_REQ2)

#Other stamts...
..
..
---------------------------------
where "foo" is the file that holds the environment variables that point to
my project-paths like
$(ENV1)
$(ENV2)
$(ENV3) etc

where in turn $(ENV1),$(ENV2),$(ENV3),etc are set either on command line or
by using a
batch file.

By changing the value of 1 or more environment value, can I force gmake to
re-build the rule without changing the timestamp of the file "foo"?

Help in this regard is highly appreciated,
Thanks in advance,
Rgds,
Roopa


-------------------------------------------------------------------------------------------------------------

Philips Semiconductors / CTO / Design Technology Group
E-mail:   [EMAIL PROTECTED]
Phone:  +91 80 2557 9000, Ext 3019
Fax:       +91 80 2556 0581
Office:    Philips Innovation Campus, 3rd floor
Address: No 1, Murphy Road, Ulsoor, Bangalore - 560 008
Country:  INDIA
---------------------------------------------------------------------------------------------------------















_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to