apply makefile