> Is there any way tell FPCMAKE to rename all PROGRAMS to have a different 
> extension?

I just had to study up on how fpcmake RULES worked by looking at other existing 
fpcmake files.. hmm fpcmake files seem to  resemble python - 8 space 
indentation 
for execution instructions.

For win32

[rules]
all: fpc_all
        copy *$(EXEEXT) *.abc

And then remove all the exe files using rm or the dos equivilent command.

For unix.. something like

[rules]
all: fpc_all
        rename $(EXEEXT) .abc *

The docs should note that execution can be done like this. I was under the 
impression
makefiles were config files, but really they are a scripting language with 
bizarre 
syntax. The docs mention tools available such as cp, upx, but no information on 
how 
to execute or use the tools in the fpc makefile.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to