made makefile more general