22 lines
290 B
Bash
Executable File
22 lines
290 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
if [ $1 = "build" ]; then
|
|
make main -B
|
|
|
|
elif [ $1 = "run" ]; then
|
|
make main
|
|
./output/main 5000 ./library
|
|
|
|
elif [ $1 = "debug" ]; then
|
|
make main
|
|
gf2 ./output/main
|
|
|
|
elif [ $1 = "clean" ]; then
|
|
rm -rf ./output/
|
|
|
|
else
|
|
echo "Invalid command."
|
|
|
|
fi
|
|
|