make and addprefix

y2bismil@engmail.uwaterloo.ca y2bismil@engmail.uwaterloo.ca
Thu Oct 9 19:11:00 GMT 2003


Hey,

Not sure what the %exec is for.  Just following what's already in most of the
make files.  It just seems to execute what comes after it as if it were a system
command and it displays the command itself.

Yamin

Quoting Eljay Love-Jensen <eljay@adobe.com>:

> 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 
> 




----------------------------------------
This mail sent through www.mywaterloo.ca



More information about the Gcc-help mailing list