Hi all,
I would like to create a small makefile to clean my source code.
Eventually I also want to compile my application. (The software is a
Lazarus project; I'm under win32).
In the following structure I made two Makefile.fpc:
./Makefile.fpc
./bin/Makefile.fpc
Code of ./Makefile.fpc:
[target]
dirs=bin
[rules]
clean: clean
$(MAKE) -C bin clean
Code of ./bin/Makefile.fpc:
[clean]
files=$(wildcard ./*$(OEXT)) $(wildcard ./*$(PPUEXT)) $(wildcard ./*$(RSTEXT))
I compile both files with in ./ :
fpcmake -r
Now when I execute, I get a problem:
make clean
makefile:1341: *** missing separator. Stop.
--
Alexandre Leclerc
_______________________________________________
fpc-pascal maillist -
[hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal