Just to be fair lets do the same for makefile_native

git-svn-id: http://oax.googlecode.com/svn/trunk@195 48ef5666-4144-11de-b6cc-f32266f7ba4a
This commit is contained in:
sago007 2010-02-13 21:04:50 +00:00
parent 91e7f8f78f
commit f191edabfc
2 changed files with 4 additions and 2 deletions

View file

@ -2,7 +2,7 @@
#Tip: You can create a supermake.local file and this script will get the variable from there!
BINNAME=openarena
MODNAME=oax
#ARCH should be either i386 or x86_64
#ARCH should be either i386 (32 bit) or x86_64 (64 bit)
ARCH=i386
if [ -r ./supermake.local ] ; then

View file

@ -2,6 +2,8 @@
#Tip: You can create a supermake.local file and this script will get the variable from there!
BINNAME=openarena
MODNAME=oax
#ARCH should be either i386 (32 bit) or x86_64 (64 bit)
ARCH=i386
if [ -r ./supermake.local ] ; then
source ./supermake.local
@ -19,6 +21,6 @@ mkdir -p ~/.openarena/$MODNAME
pushd ..
#Build, pak it and start
make && cd build/release-linux-x86_64/baseq3 && cp *.so ~/.openarena/$MODNAME/ && $BINNAME +set fs_game $MODNAME +set debug 1 +set sv_pure 0 +vm_ui 0 +vm_game 0 +vm_cgame 0
make && cd build/release-linux-$ARCH/baseq3 && cp *.so ~/.openarena/$MODNAME/ && $BINNAME +set fs_game $MODNAME +set debug 1 +set sv_pure 0 +vm_ui 0 +vm_game 0 +vm_cgame 0
popd