# ./build.sh for Mac OSX - (c) FiveTech Software 2007
clear
if [ $# = 0 ]; then
echo syntax: ./build.sh file [options...]
exit
fi
echo compiling...
./../bin/harbour $1 -n -I./../include $2
if [ $? = 1 ]; then
exit
fi
echo compiling C module...
gcc $1.c -c -I./../include
echo linking...
gcc $1.o -o ./$1 -L./../lib -ldebug -lvm -lrtl -llang -lrdd -lrtl -lgtstd -lvm -lmacro -lpp -ldbfntx -ldbfcdx -ldbffpt -lhbsix -lcommon
rm $1.c
rm $1.o
echo done!
./$1
function Main()
? "Hello world!"
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: cmsoft, Google [Bot] and 64 guests