From: Ben Pfaff Date: Fri, 8 Dec 2006 23:40:23 +0000 (+0000) Subject: New target to generate cscope.files. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35113c8ba8c870959e9a31c2b2a0c513008d5743;p=pintos-anon New target to generate cscope.files. --- diff --git a/src/Makefile b/src/Makefile index ee58cc3..626e6dd 100644 --- a/src/Makefile +++ b/src/Makefile @@ -14,11 +14,13 @@ distclean:: clean find . -name '*~' -exec rm '{}' \; TAGS_SUBDIRS = $(BUILD_SUBDIRS) devices lib -TAGS_SOURCES = `find $(TAGS_SUBDIRS) -name \*.[chS] -print` +TAGS_SOURCES = find $(TAGS_SUBDIRS) -name \*.[chS] -print TAGS:: - etags --members $(TAGS_SOURCES) + etags --members `$(TAGS_SOURCES)` tags:: - ctags -T --no-warn $(TAGS_SOURCES) + ctags -T --no-warn `$(TAGS_SOURCES)` +cscope.files:: + $(TAGS_SOURCES) > cscope.files