Mercurial > vim
diff src/Make_cyg_ming.mak @ 14925:8b1b3228c410 v8.1.0474
patch 8.1.0474: directory where if_perl.c is written is inconsistent
commit https://github.com/vim/vim/commit/a16bc5450359294f9d8585da9f74e5082108b7fb
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 14 16:25:10 2018 +0200
patch 8.1.0474: directory where if_perl.c is written is inconsistent
Problem: Directory where if_perl.c is written is inconsistent.
Solution: use auto/if_perl.c for MS-Windows. (Ken Takata, closes https://github.com/vim/vim/issues/3540)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Oct 2018 16:30:06 +0200 |
parents | 8ff32a34f25e |
children | 665d9c0fea86 |
line wrap: on
line diff
--- a/src/Make_cyg_ming.mak +++ b/src/Make_cyg_ming.mak @@ -985,6 +985,7 @@ clean: -$(DEL) pathdef.c ifdef PERL -$(DEL) if_perl.c + -$(DEL) auto$(DIRSLASH)if_perl.c endif ifdef MZSCHEME -$(DEL) mzscheme_base.c @@ -1043,10 +1044,14 @@ mzscheme_base.c: $(OUTDIR)/if_ole.o: if_ole.cpp $(INCL) if_ole.h $(CC) $(CFLAGS) $(CXXFLAGS) -c -o $(OUTDIR)/if_ole.o if_ole.cpp -if_perl.c: if_perl.xs typemap +auto/if_perl.c: if_perl.xs typemap $(XSUBPP) -prototypes -typemap \ $(PERLTYPEMAP) if_perl.xs -output $@ +$(OUTDIR)/if_perl.o: auto/if_perl.c $(INCL) + $(CC) -c $(CFLAGS) auto/if_perl.c -o $(OUTDIR)/if_perl.o + + $(OUTDIR)/if_ruby.o: if_ruby.c $(INCL) ifeq (16, $(RUBY)) $(CC) $(CFLAGS) -U_WIN32 -c -o $(OUTDIR)/if_ruby.o if_ruby.c