
# Put all sources into a file list.
find ./loader -name '*.cc' > tagfilelist
find ./loader -name '*.c' >> tagfilelist
find ./loader -name '*.h' >> tagfilelist
find ./loader -name '*.s' >> tagfilelist
find ./loader -name '*.S' >> tagfilelist

find ./libs -name '*.cc'>> tagfilelist
find ./libs -name '*.c' >> tagfilelist
find ./libs -name '*.h' >> tagfilelist
find ./libs -name '*.s' >> tagfilelist
find ./libs -name '*.S' >> tagfilelist

# Use file list to include in tags.
exuberant-ctags --languages=C,Asm --recurse -Ltagfilelist

cscope -q -k -R -i tagfilelist
# Remove file list.
#rm -f tagfilelist
