Hacker News new | ask | show | jobs
by BeefWellington 1207 days ago
You can use the include syntax for Makefiles in order to include your environment variables.

Alternately, set those vars in your shell RC and it'll work too when the shell is spawned.

IME it's stabler to kick off automation or build processes from a clean slate anyways, clearing the environment and setting specific values as required from a file.