List goals/targets in GNU make that contain variables in their definition – Stack Overflow
Posted by jpluimers on 2016/08/24
*nix systems tools often are have write-only maintenance tricks:
alias make-list-target='make -qp | awk -F":" "/^[a-zA-Z0-9][^$#\/\t=]*:([^=]|$)/ {split(\$1,A,/ /);for(i in A)print A[i]}"'
Like usual, I have only a vague idea what the regex expressions do.
–jeroen
via List goals/targets in GNU make that contain variables in their definition – Stack Overflow.






Leave a comment