plugins/compile.sh
author Scott Ehlert <ds@alliedmods.net>
Mon Nov 24 09:33:11 2008 -0600 (2008-11-24)
changeset 2419 d7ba7d38032d
parent 1403 ecb9c66fd4bb
child 2527 6271a67d06eb
permissions -rwxr-xr-x
Moved SE_* constants from PrePreprocessorDefinitions to AdditionalOptions in MSVC project files.
-Doing this should make it a bit easier to maintain in the future.

Also added back /MP to core and sdktools.
dvander@1403
     1
#!/bin/bash
dvander@1403
     2
dvander@1403
     3
test -e compiled || mkdir compiled
dvander@1403
     4
dvander@1403
     5
for sourcefile in *.sp
dvander@1403
     6
do
dvander@1403
     7
	smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`"
dvander@1403
     8
	echo -n "Compiling $sourcefile ..."
dvander@1403
     9
	./spcomp $sourcefile -ocompiled/$smxfile
dvander@1403
    10
done
dvander@1403
    11