#!/bin/sh

VERSION=2.5

gcc -lm main.c -owxbasicscript  -I/usr/X11R6/include -L/usr/X11R6/lib -lSM -lICE -lX11 -lXmu
strip wxbasicscript
#upx wxbasicscript

cp -ax wxbasicscript PuppyBasic-$VERSION/usr/bin/wxbasicscript

rm -f PuppyBasic-$VERSION.tar.gz
tar -czvf PuppyBasic-$VERSION.tar.gz PuppyBasic-$VERSION
