Mercurial > vim
annotate src/xxd/Make_mvc.mak @ 23429:de278e062eb6
Added tag v8.2.2257 for changeset 5807e3958e3898e21dced2fae52a15c9aa00ef57
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 31 Dec 2020 21:30:04 +0100 |
parents | 590424e87b65 |
children | c9134a3ff7be |
rev | line source |
---|---|
7 | 1 # The most simplistic Makefile for Win32 using Microsoft Visual C++ |
2 # (NT and Windows 95) | |
3 | |
12600
590424e87b65
patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
714
diff
changeset
|
4 SUBSYSTEM = console |
590424e87b65
patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
714
diff
changeset
|
5 !if "$(SUBSYSTEM_VER)" != "" |
590424e87b65
patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
714
diff
changeset
|
6 SUBSYSTEM = $(SUBSYSTEM),$(SUBSYSTEM_VER) |
590424e87b65
patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
714
diff
changeset
|
7 !endif |
590424e87b65
patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
714
diff
changeset
|
8 |
7 | 9 xxd: xxd.exe |
10 | |
11 xxd.exe: xxd.c | |
12600
590424e87b65
patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
714
diff
changeset
|
12 cl /nologo -DWIN32 xxd.c -link -subsystem:$(SUBSYSTEM) |
714 | 13 |
14 # This was for an older compiler | |
15 # cl /nologo -DWIN32 xxd.c /link setargv.obj | |
7 | 16 |
17 clean: | |
12600
590424e87b65
patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
714
diff
changeset
|
18 - if exist xxd.obj del xxd.obj |
590424e87b65
patch 8.0.1178: using old compiler on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
714
diff
changeset
|
19 - if exist xxd.exe del xxd.exe |