Adapt Makefile