[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Use of %
From: |
Paul D. Smith |
Subject: |
Re: Use of % |
Date: |
Thu, 19 Jul 2001 23:26:16 -0400 |
%% 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 %,
Paul D. Smith <=