summaryrefslogtreecommitdiff
path: root/src/Make_cyg_ming.mak
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-09-01 18:41:26 +0200
committerBram Moolenaar <Bram@vim.org>2017-09-01 18:41:26 +0200
commit9ac9dfa9e2b20659e5806982f027fa4fd637c3c7 (patch)
tree42e48c9bc4c3c62c34c814580beac69c4a15d5b9 /src/Make_cyg_ming.mak
parent2c809b7c7d2bb5e4b7fd09c3d312cadecf0c1ff0 (diff)
downloadvim-git-9ac9dfa9e2b20659e5806982f027fa4fd637c3c7.tar.gz
patch 8.0.1032: "make tags" doesn't work well on MS-Windowsv8.0.1032
Problem: "make tags" doesn't work well on MS-Windows. Solution: Add or fix tags target. (Ken Takata)
Diffstat (limited to 'src/Make_cyg_ming.mak')
-rw-r--r--src/Make_cyg_ming.mak10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak
index 52db56138..de2c5df52 100644
--- a/src/Make_cyg_ming.mak
+++ b/src/Make_cyg_ming.mak
@@ -76,6 +76,10 @@ endif
# Set to yes to enable terminal support.
TERMINAL=no
+ifndef CTAGS
+# this assumes ctags is Exuberant ctags
+CTAGS = ctags -I INIT+ --fields=+S
+endif
# Link against the shared version of libstdc++ by default. Set
# STATIC_STDCPLUS to "yes" to link against static version instead.
@@ -885,6 +889,12 @@ xxd/xxd.exe: xxd/xxd.c
GvimExt/gvimext.dll: GvimExt/gvimext.cpp GvimExt/gvimext.rc GvimExt/gvimext.h
$(MAKE) -C GvimExt -f Make_ming.mak CROSS=$(CROSS) CROSS_COMPILE=$(CROSS_COMPILE) CXX='$(CXX)' STATIC_STDCPLUS=$(STATIC_STDCPLUS)
+tags: notags
+ $(CTAGS) *.c *.cpp *.h if_perl.xs
+
+notags:
+ -$(DEL) tags
+
clean:
-$(DEL) $(OUTDIR)$(DIRSLASH)*.o
-$(DEL) $(OUTDIR)$(DIRSLASH)*.res