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=e5439c03526c8e2881b0430ddbfe02812bee2e68;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