view src/xxd/Make_mvc.mak @ 26321:a74dd2014b04 v8.2.3691

patch 8.2.3691: build failure with small features Commit: https://github.com/vim/vim/commit/f566666e888685b6442a0e7f34c73ba56f6db49a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 28 21:33:36 2021 +0000 patch 8.2.3691: build failure with small features Problem: Build failure with small features. Solution: Add #ifdef. (Dominique Pell?)
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Nov 2021 22:45: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