From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,e0cbde1c9baa941a X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,e0cbde1c9baa941a X-Google-Attributes: gidfee84,public From: smryan@mail.com (!@?*$%) Subject: Re: Makefile question Date: 1997/04/05 Message-ID: #1/1 X-Deja-AN: 230902155 Sender: torque@netcom3.netcom.com References: <33452AD3.167E@gsfc.nasa.gov> Organization: The Programmer formerly known as S M Ryan Newsgroups: comp.unix.osf.osf1,comp.unix.programmer > 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.