updated makefile to work generic