made makefile more testing friendly