Fixed gsub % bug. Added default makefile.