diff options
-rw-r--r-- | config.mk | 5 | ||||
-rw-r--r-- | makefile | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -234,6 +234,11 @@ cscope: code_pass find ../../ -name '*.[CHchS]' -type f -fprint cscope.files; \ cscope -bqk) +ctags: code_pass + mkdir -p ${ROOTPATH}/obj/cscope + (cd ${ROOTPATH}/obj/cscope ; rm -f tags ; \ + ctags --recurse=yes --fields=+S ../../src) + ifneq ($(MAKECMDGOALS),clean) ifneq ($(MAKECMDGOALS),gen_pass) ifneq ($(MAKECMDGOALS),GEN_PASS) @@ -1,7 +1,7 @@ SUBDIRS = src.d ROOTPATH = . -EXTRA_PARTS = cscope +EXTRA_PARTS = cscope ctags include ./config.mk |