#!/bin/sh
. ~/.bin/_config
set -ex
find "${DEVDIR}" -type f \
            \( -name "*.c" \
            -o -name "*.cc" \
            -o -name "*.cpp" \
            -o -name "*.c" \
            -o -name "*.hh" \
            -o -name "*.hpp" \
            \) > /home/sdk/cscope.files
cscope -qbkCRvf /home/sdk/cscope.out -i/home/sdk/cscope.files
