[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Use of %
From: |
Erik Elliott |
Subject: |
RE: Use of % |
Date: |
Fri, 20 Jul 2001 09:11:13 -0500 |
Yes that got it, thank you.
-----Original Message-----
From: Paul D. Smith [mailto:address@hidden
Sent: Thursday, July 19, 2001 10:26 PM
To: Erik Elliott
Cc: address@hidden
Subject: Re: Use of %
%% Erik Elliott <address@hidden> writes:
ee> STDCOMOBJS= $(COMMONSRCS:%.cxx=$(STDOBJDIR)/%/%.o)
ee> How can I make the pattern substitution happen more than the one
ee> time that it wants to?
What about:
STDCOMOBJS = $(foreach f,$(basename $(COMMONSRCS)),$(STDOBJDIR)/$f/$f.o)
?
--
----------------------------------------------------------------------------
---
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad
Scientist
- Use of %, Erik Elliott, 2001/07/19
- RE: Use of %,
Erik Elliott <=