view src/xxd/Make_mvc.mak @ 28867:987d29ca36a5 v8.2.4956

patch 8.2.4956: reading past end of line with "gf" in Visual block mode Commit: https://github.com/vim/vim/commit/395bd1f6d3edc9f7edb5d1f2d7deaf5a9e3ab93c Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 14 21:29:44 2022 +0100 patch 8.2.4956: reading past end of line with "gf" in Visual block mode Problem: Reading past end of line with "gf" in Visual block mode. Solution: Do not include the NUL in the length.
author Bram Moolenaar <Bram@vim.org>
date Sat, 14 May 2022 22:30:03 +0200
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