Mercurial > vim
annotate src/tee/Make_mvc.mak @ 21697:6c477989f9a4 v8.2.1398
patch 8.2.1398: autoload script sourced twice if sourced directly
Commit: https://github.com/vim/vim/commit/daa2f36573db3e1df7eb1fdbc3a09a2815644048
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 8 21:33:21 2020 +0200
patch 8.2.1398: autoload script sourced twice if sourced directly
Problem: Autoload script sourced twice if sourced directly.
Solution: Do not source an autoload script again. (issue https://github.com/vim/vim/issues/6644)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 08 Aug 2020 21:45:04 +0200 |
parents | 590424e87b65 |
children |
rev | line source |
---|---|
7475
6b5ce5161d6d
commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 # A very (if not the most) simplistic Makefile for MSVC |
6b5ce5161d6d
commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 |
12600
590424e87b65
patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
7887
diff
changeset
|
3 SUBSYSTEM = console |
590424e87b65
patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
7887
diff
changeset
|
4 !if "$(SUBSYSTEM_VER)" != "" |
590424e87b65
patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
7887
diff
changeset
|
5 SUBSYSTEM = $(SUBSYSTEM),$(SUBSYSTEM_VER) |
590424e87b65
patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
7887
diff
changeset
|
6 !endif |
590424e87b65
patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
7887
diff
changeset
|
7 |
7475
6b5ce5161d6d
commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
8 CC=cl |
7887
a98b93736894
commit https://github.com/vim/vim/commit/bc073092254df17b282d162d8e8181e8f6a7a356
Christian Brabandt <cb@256bit.org>
parents:
7475
diff
changeset
|
9 CFLAGS=/O2 /nologo |
7475
6b5ce5161d6d
commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
10 |
6b5ce5161d6d
commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
11 tee.exe: tee.obj |
12600
590424e87b65
patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
7887
diff
changeset
|
12 $(CC) $(CFLAGS) /Fo$@ $** /link /subsystem:$(SUBSYSTEM) |
7475
6b5ce5161d6d
commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
13 |
6b5ce5161d6d
commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
14 tee.obj: tee.c |
6b5ce5161d6d
commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
15 $(CC) $(CFLAGS) /c $** |
6b5ce5161d6d
commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
16 |
6b5ce5161d6d
commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
17 clean: |
6b5ce5161d6d
commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
18 - del tee.obj |
6b5ce5161d6d
commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
19 - del tee.exe |