Mercurial > vim
annotate src/tee/Make_mvc.mak @ 25105:80c759b23ce0
Added tag v8.2.3089 for changeset 80cab530472b5ec2d5379b0d64f2a4739168be1d
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 03 Jul 2021 16: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 |