reworked the makefile