14 lines
269 B
Bash
Executable File
14 lines
269 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 ${CMD}"
|
|
fi
|
|
|
|
exec $CMD
|