Skip to content

Instantly share code, notes, and snippets.

@wecanspeak
Created December 13, 2013 06:07
Show Gist options
  • Save wecanspeak/7940397 to your computer and use it in GitHub Desktop.
Save wecanspeak/7940397 to your computer and use it in GitHub Desktop.
build tags for c program (via cscope and ctags)
#!/bin/sh
rm cscope.* tags
echo "rm cscope.* tags"
find . -name *.[ch] > cscope.tmp
echo "find . -name *.[ch] > cscope.tmp"
cscope -bqk -i cscope.tmp
echo "cscope -bqk -i cscope.tmp"
ctags -R
echo "ctags -R"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment