altered makefile to make more generic