improve makefile with env vars