Fixed up Makefile and then decided to just write a shell script instead