plugins/compile.sh
branchrefac-jit
changeset 2168 c24a6fa957db
child 2527 6271a67d06eb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/plugins/compile.sh	Sun Jul 06 04:49:55 2008 +0000
     1.3 @@ -0,0 +1,11 @@
     1.4 +#!/bin/bash
     1.5 +
     1.6 +test -e compiled || mkdir compiled
     1.7 +
     1.8 +for sourcefile in *.sp
     1.9 +do
    1.10 +	smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`"
    1.11 +	echo -n "Compiling $sourcefile ..."
    1.12 +	./spcomp $sourcefile -ocompiled/$smxfile
    1.13 +done
    1.14 +