14 lines
287 B
Bash
Executable File
14 lines
287 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 --leak-check=full ${CMD}"
|
|
fi
|
|
|
|
exec $CMD
|