Changed the makefile from a shell script to an ordinary makefile.