This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: make and addprefix
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: y2bismil at engmail dot uwaterloo dot ca, gcc-help at gcc dot gnu dot org
- Date: Thu, 09 Oct 2003 14:04:12 -0500
- Subject: Re: make and addprefix
- References: <Pine.BSF.4.58.0310091730320.90326@naos.dbai.tuwien.ac.at><20031009152131.GA15549@redhat.com> <3F857E11.9080401@unitus.it><Pine.BSF.4.58.0310091730320.90326@naos.dbai.tuwien.ac.at>
Hi Yamin,
This makefile worked just fine for me:
--------8<--------
FileList := \
one.ob3 \
two.ob3 \
three.ob3 \
.PHONY : default
default :
@echo 'FileList: $(FileList)'
@echo 'FileList: $(addprefix Pre,$(FileList))'
--------8<--------
What's your "%exec" for in your target?
HTH,
--Eljay