3 ms·
Here's a similar "hack", but it is not limited to gnu make: printvar: @echo $(VAR) You can execute it like this: make printvar VAR='$(PWD)'
by zzzcpan 10y ago
Here's a similar "hack", but it is not limited to gnu make:
printvar:
@echo $(VAR)
You can execute it like this:
make printvar VAR='$(PWD)'