makefile adapted