icfp11/testitradar
2008-07-13 21:57:26 +02:00

14 lines
276 B
Bash
Executable File

#!/bin/bash
CMD="./build/default/src/icfp08radar localhost 17676"
./waf distclean && ./waf configure && ./waf build --targets icfp08radar
if [ "$1" == "--gdb" ]; then
CMD="gdb --args ${CMD}"
elif [ "$1" == "--valgrind" ]; then
CMD="valgrind --args ${CMD}"
fi
exec $CMD