Replace makefile with local env variables