Translated makefile.bat into makefile.script for unix people