--- ocomp.sh.old 2006-08-19 01:46:14.000000000 +0200 +++ ocomp.sh 2006-08-19 01:48:12.000000000 +0200 @@ -3,12 +3,10 @@ # Small and ugly "static compiler" for Raydium apps, with ODE # Use "./ocomp.sh test6.c" for example. +OUTPUT_FILE=`echo $1 | cut -f1 -d.` ulimit -c 0 -rm test -gcc -g $1 -Wall -o test -L/usr/X11R6/lib/ -lXinerama -lGL -lGLU -lm -lopenal -lalut -ljpeg \ +gcc -g $1 -Wall -o $OUTPUT_FILE -L/usr/X11R6/lib/ -lXinerama -lGL -lGLU -lm -lopenal -lalut -ljpeg \ -Iraydium/ode/include/ raydium/ode/lib/libode.a -lvorbis -lvorbisfile -logg \ -Iraydium/php/ -Iraydium/php/include -Iraydium/php/main/ -Iraydium/php/Zend -Iraydium/php/TSRM raydium/php/libs/libphp5.a \ -lresolv -lcrypt -lz -lcurl -lxml2 -lGLEW sync -shift -./test "$@"