Skip to content

Instantly share code, notes, and snippets.

@dotCipher
Created August 23, 2016 01:39
Show Gist options
  • Save dotCipher/becd143a24783d0013b788d12503996d to your computer and use it in GitHub Desktop.
Save dotCipher/becd143a24783d0013b788d12503996d to your computer and use it in GitHub Desktop.
Lists all make targets
make -qp | awk -F':' '/^[a-zA-Z0-9][^$#\/\t=]*:([^=]|$)/ {split($1,A,/ /);for(i in A)print A[i]}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment