What do these in-symbol variables in the Makefile mean?

I couldn't find any documentation on this. What exactly are these variables with the "at" characters found in the Makefiles? Example:

temp = @temp@
srcdir = @srcdir@

      

+2


a source to share


1 answer


They are placeholders that are placed in makefiles for autoconf or related tools. Post-processing from the configuration step replaces them with the values ​​determined during the configuration process.



You usually see them in Makefile.in or similar names; the values ​​should not be present in the final makefile. This indicates that the configuration process was not performed correctly.

+5


a source







All Articles