0

According to the docs on make there is a -R switch,

-R, --no-builtin-variables
            Don't define any built-in variables.

How can I find those builtin variables and their values?

1 Answer 1

0

I think this is the closest you can get

env -i make -rp | grep -v '^#' | grep ' = '

That prints out the database less the rules, in an environment that isn't pristine result in what I believe is just the builtin variables.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.