Results 1 to 2 of 2
I am wondering if there is any easy way to determine or list all the builtin make variables that one has before one creates any by declareing them. I have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-14-2012 #1
- Join Date
- Apr 2011
make file ?
all the builtin make variables that one has before one creates any by declareing them.
I have tried make -p but this method is very unclean.
I was just wondering if there is currently any easier way to just get a simple list of all make file variables builtin.
As well as there default values maybe.
Or that maybe to hard looking at make -p again but at least something that allows one to type in a variable in a make file and be able to easilly get all the info on that one particular var in an easy and consices manner.
Don't want to have to make -p | grep myvar but maybe this is the only way I was just in my mind hoping for a more pleasing method
- 11-04-2012 #2
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
Read the documentation on the gnu web site for gmake/make? It is quite complete and should answer this question for you.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!