]> rtime.felk.cvut.cz Git - omk.git/blobdiff - snippets/sources-list
Added support for cscope. It seems it is not working as expected.
[omk.git] / 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: