summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-03-05 16:19:59 -0700
committerJens Axboe <axboe@kernel.dk>2019-03-05 16:19:59 -0700
commitb080d0680c0aac5dad408a5711d65e4606295cb2 (patch)
tree2459f3c7414aa6e7b1ca55bcb217d2b7e13e9a6b
parent765ba233c88f6dc932c61a5b66c26db0ebd082ba (diff)
Makefile: add cscope target
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 547137d..fe4fcb4 100644
--- a/Makefile
+++ b/Makefile
@@ -31,10 +31,13 @@ install:
@$(MAKE) -C src install prefix=$(DESTDIR)$(prefix) includedir=$(DESTDIR)$(includedir) libdir=$(DESTDIR)$(libdir)
clean:
- @rm -f config-host.mak config-host.h
+ @rm -f config-host.mak config-host.h cscope.out
@$(MAKE) -C src clean
@$(MAKE) -C test clean
+cscope:
+ @cscope -b -R
+
tag-archive:
@git tag $(TAG)