corrected logic error in makefile