flatten Makefile