summaryrefslogtreecommitdiff
path: root/examples/corelib
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2009-11-26 14:35:25 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2009-11-26 14:35:25 +0200
commitab9a941d02281b95f00dd74f69a744ac302743e3 (patch)
tree7cc29fdd2b67701751b5ee9879221470e2ecef09 /examples/corelib
parent295120b49b828077266e3f7339a0288e054167e3 (diff)
downloadfpGUI-ab9a941d02281b95f00dd74f69a744ac302743e3.tar.xz
Add copies of the gui/compileall.sh script to the "apps" and "corelib" directories.
Diffstat (limited to 'examples/corelib')
-rwxr-xr-xexamples/corelib/compileall.sh16
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