Mercurial > vim
annotate src/xxd/Make_mvc.mak @ 18801:484c63777038
Added tag v8.1.2388 for changeset f41b55f9357ca8db819eb9ad1594d7efb64c044e
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 04 Dec 2019 22:00: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 |