makefile working correctly