Replaced build script with Makefile.