Mercurial > vim
annotate src/xxd/Make_mvc.mak @ 29553:3d658f221ab0
Added tag v9.0.0117 for changeset 89a97f70e8eb16f8963cacef643d917462768f58
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Jul 2022 23:30:05 +0200 |
parents | 590424e87b65 |
children |
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 |