summaryrefslogtreecommitdiff
path: root/src/build.sh
blob: a067b849a0e1f5d1123cce448aa924a7aac89829 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

fpctarget=`fpc -iTP`-`fpc -iTO`
#echo $fpctarget
libpath='../lib/'$fpctarget

# Must we create the output directory?
if [ ! -d $libpath ]; then
  echo 'creating directory: '$libpath
  mkdir $libpath
  echo ' '
fi

fpc -dRELEASE -dX11 @extrafpc.cfg corelib/x11/fpgui_toolkit.pas