fixed a bug in makefile