fixed the makefile to gernalize it some more