]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commitdiff
Add cscope target to Makefile
authorshemminger <shemminger>
Thu, 23 Jun 2005 17:31:49 +0000 (17:31 +0000)
committershemminger <shemminger>
Thu, 23 Jun 2005 17:31:49 +0000 (17:31 +0000)
Makefile

index 54c2a635c035c9471fd800d6244489ee2663a043..21ff831c8dfc5233673e8100833c85c502a1a6d0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -57,6 +57,7 @@ install: all
        install -m 0644 $(shell find man/man3 -maxdepth 1 -type f) $(DESTDIR)$(MANDIR)/man3
 
 clean:
+       rm -f cscope.*
        @for i in $(SUBDIRS) doc; \
        do $(MAKE) $(MFLAGS) -C $$i clean; done
 
@@ -65,4 +66,7 @@ clobber: clean
 
 distclean: clobber
 
+cscope:
+       cscope -b -q -R -Iinclude -sip -slib -smisc -snetem -stc
+
 .EXPORT_ALL_VARIABLES: