#!/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"