view src/xxd/Make_mvc.mak @ 32043:6095218c9056 v9.0.1353

patch 9.0.1353: too many "else if" statements to handle option values Commit: https://github.com/vim/vim/commit/6d611de58c8e324491415da8e79c6bd3faa3e848 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sat Feb 25 11:59:33 2023 +0000 patch 9.0.1353: too many "else if" statements to handle option values Problem: Too many "else if" statements to handle option values. Solution: Add more functions to handle option value changes. (Yegappan Lakshmanan, closes #12058)
author Bram Moolenaar <Bram@vim.org>
date Sat, 25 Feb 2023 13:00:05 +0100
parents 590424e87b65
children
line wrap: on
line source

# The most simplistic Makefile for Win32 using Microsoft Visual C++
# (NT and Windows 95)

SUBSYSTEM = console
!if "$(SUBSYSTEM_VER)" != ""
SUBSYSTEM = $(SUBSYSTEM),$(SUBSYSTEM_VER)
!endif

xxd: xxd.exe

xxd.exe: xxd.c
	cl /nologo -DWIN32 xxd.c -link -subsystem:$(SUBSYSTEM)

# This was for an older compiler
#    cl /nologo -DWIN32 xxd.c /link setargv.obj

clean:
	- if exist xxd.obj del xxd.obj
	- if exist xxd.exe del xxd.exe