How to create ctags only for c and h files in code

c, ctags, tags

Solution

Use the --languages parameter:

ctags --languages=C

Problem

I have a compiled code. If i try generation the tags using the 'usr/bin/ctags -R *', it will include all the c,h,object files etc. So it is taking lot of time and also memory. Could you please let me know how to generate tags only for c/h files.

Original source