This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: make and addprefix


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 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]