mtd-utils: Makefile: introduce cscope target

Submitted by Artem Bityutskiy on April 8, 2011, 12:11 p.m.

Details

Message ID 1302264689-3513-1-git-send-email-dedekind1@gmail.com
State Accepted
Commit 9f85a1204fd2f55455224637b1ce9a1df5ae1205
Headers show

Commit Message

Artem Bityutskiy April 8, 2011, 12:11 p.m.
From: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

Add a "cscope" target to make it easier to develop in the repository.
Indeed, many people like me are accustomed to "make cscope" in the
kernel, and it is very convenient to have this in mtd-utils as well.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
---
 Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

diff --git a/Makefile b/Makefile
index 1f264e9..6a65258 100644
--- a/Makefile
+++ b/Makefile
@@ -64,3 +64,6 @@  install:: ${TARGETS} ${SCRIPTS}
 
 tests::
 	$(MAKE) -C $(TESTS)
+
+cscope:
+	cscope -bR