summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2014-07-15 16:42:40 +0200
committerTor Andersson <tor.andersson@artifex.com>2014-07-17 16:17:46 +0200
commitc10b594931c53b9989184b44a12d9acc1f28deb6 (patch)
tree0af93ed22b6f3b620f4080ad4410c7ccfcb9452d /Makefile
parent6212436fab8f122ab6404ca39d62575cb5066f30 (diff)
downloadmupdf-c10b594931c53b9989184b44a12d9acc1f28deb6.tar.xz
Add cscope makefile targets.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2cd3a83f..3777a1cb 100644
--- a/Makefile
+++ b/Makefile
@@ -335,6 +335,12 @@ tarball:
tags: $(shell find include source platform -name '*.[ch]')
ctags $^
+cscope.files: $(shell find include source platform -name '*.[ch]')
+ @ echo $^ | tr ' ' '\n' > $@
+
+cscope.out: cscope.files
+ cscope -b
+
all: libs apps
clean: