]> rtime.felk.cvut.cz Git - omk/sssa.git/commitdiff
Added support for cscope. It seems it is not working as expected.
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 4 Jul 2006 09:11:00 +0000 (09:11 +0000)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 4 Jul 2006 09:11:00 +0000 (09:11 +0000)
darcs-hash:20060704091102-f2ef6-aa09f7e8a2d82fbf548358e82fbdf4e2b296024d.gz

snippets/sources-list

index ad36ba3f57298efe9c6c62d184c53b770926aad1..1ea1c2615e56e74aebe62081d588cd13281b1052 100644 (file)
@@ -65,6 +65,13 @@ do-tags: $(shell sed -e '/^\#/d' $(SOURCES_LIST))
        $(Q)$(TAGS_CMD) $^
 endif
 
+############ CSCOPE ###########
+
+cscope: $(SOURCES_LIST)
+       @$(QUIET_CMD_ECHO) "  CSCOPE  < $(SOURCES_LIST_FN)"
+       $(Q)sed -e '/^#/d' $(SOURCES_LIST)|cscope -b -i-
+#FIXME: see doc to -i in cscope(1)
+
 # Local Variables:
 # mode:makefile
 # End: