diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2009-11-26 14:35:25 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2009-11-26 14:35:25 +0200 |
commit | ab9a941d02281b95f00dd74f69a744ac302743e3 (patch) | |
tree | 7cc29fdd2b67701751b5ee9879221470e2ecef09 /examples/corelib | |
parent | 295120b49b828077266e3f7339a0288e054167e3 (diff) | |
download | fpGUI-ab9a941d02281b95f00dd74f69a744ac302743e3.tar.xz |
Add copies of the gui/compileall.sh script to the "apps" and "corelib" directories.
Diffstat (limited to 'examples/corelib')
-rwxr-xr-x | examples/corelib/compileall.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/corelib/compileall.sh b/examples/corelib/compileall.sh new file mode 100755 index 00000000..1fed112d --- /dev/null +++ b/examples/corelib/compileall.sh @@ -0,0 +1,16 @@ +#!/bin/sh +FPC=fpc +for f in `find -name '*.lpr'` +do + DIR=`dirname $f` + PROJECT=`basename $f` + LPRNAME=`basename $PROJECT .lpr` + echo Doing $LPRNAME in $DIR + cd $DIR + if [ ! -d units ]; then + echo 'Missing units dir' + mkdir units + fi + $FPC @extrafpc.cfg $PROJECT; + cd .. +done |