adapted makefile