Skip to content

Instantly share code, notes, and snippets.

@arinal
Created July 22, 2015 18:23
Show Gist options
  • Save arinal/51e489d9129312c5937e to your computer and use it in GitHub Desktop.
Save arinal/51e489d9129312c5937e to your computer and use it in GitHub Desktop.
Generating TAGS file.
gcc -M $* | sed -e 's/[\\ ]/\n/g' | sed -e '/^$/d' -e '/\.o:[ \t]*$/d' | xargs etags -a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment