10 lines
196 B
Bash
10 lines
196 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
if [ "$#" -ne "1" ]; then
|
||
|
echo "ERROR: You must pass the program name! For instance, to build maze.elf,"
|
||
|
echo "pass in just 'maze'"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
make -f Makefile_PS2 PROGRAM="$1"
|