From: smryan@mail.com (!@?*$%)
Subject: Re: Makefile question
Date: 1997/04/05 [thread overview]
Message-ID: <smryan-0504970441300001@10.0.2.15> (raw)
In-Reply-To: 33452AD3.167E@gsfc.nasa.gov
> How do I extract file1, file2, etc., from $@ or any of internal macros
> to form new marco AAA to be used in later part of my Makefile? I tried
You don't. make macros are static can't be redefined by commands within
the makefile. If you seriously needed to do this, you can do cascaded
makefiles:
$(FLIST):
AAA=`...` $(MAKE) $(MAKEFLAGS) target
Thus make calls make, and in the second call, the value of the environment
variable AAA is available as a make macro.
--
The fire surges, fills his veins; | S M Ryan, Cupertino CA
the red and black, the blaspheme reigns. | mail to: smryan@mail.com
With flash and spark, he flails dark, | Sais-moi rien?
and curses phantom cavern banes. | I don't use no smileys.
prev parent reply other threads:[~1997-04-05 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-04-04 5:00 Makefile question Liyun Wang
1997-04-05 5:00 ` !@?*$% [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox