Find the answer to your Linux question:
Results 1 to 2 of 2

Thread: make file ?

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    make file ?

    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 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

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in 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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts