plugins/compile.sh
author Matt Woodrow <pred@alliedmods.net>
Tue Jul 01 23:42:19 2008 +0000 (2008-07-01)
changeset 2143 ad12a83e4acd
parent 1952 b7aa2b626807
child 2527 6271a67d06eb
permissions -rwxr-xr-x
Added a null check on the vtable symbol
ds@1952
     1
#!/bin/bash
ds@1952
     2
ds@1952
     3
test -e compiled || mkdir compiled
ds@1952
     4
ds@1952
     5
for sourcefile in *.sp
ds@1952
     6
do
ds@1952
     7
	smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`"
ds@1952
     8
	echo -n "Compiling $sourcefile ..."
ds@1952
     9
	./spcomp $sourcefile -ocompiled/$smxfile
ds@1952
    10
done
ds@1952
    11