Makefile adaption