fixed Makefile bugs
fixed Makefile bugs