Follow-up Comment #16, bug #57751 (project make):

Just in case that helps, the syntax of the make language is not written down
cleanly as a compact syntax description in the POSIX standard. You need to
read a lot of the general text. My explanations about the expansions of macros
at parse time are in the macro section of the standard.

See this quote from the standard:

Macros can appear anywhere in the makefile. Macro expansions using the forms
$(string1) or ${string1} shall be replaced by string2, as follows:

-   Macros in target lines shall be evaluated when the target line is read.

.   Macros in makefile command lines shall be evaluated when the command is
executed.

.   Macros in the string before the <equals-sign> in a macro definition shall
be evaluated when the macro assignment is made.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57751>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to