update Makefile with env dependency