make and addprefix

Eljay Love-Jensen eljay@adobe.com
Thu Oct 9 19:04:00 GMT 2003


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 



More information about the Gcc-help mailing list