You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

13 lines
290 B

#!/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 --leak-check=full -v ${CMD}"
fi
exec $CMD