adapt Makefile