view src/xxd/Make_mvc.mak @ 33094:e1a219f47e3a v9.0.1832

patch 9.0.1832: xxd: reporting wrong version Commit: https://github.com/vim/vim/commit/0ffa97e8fae5e73ff05ba24178cfc7206a3fe67e Author: Christian Brabandt <cb@256bit.org> Date: Thu Aug 31 21:03:02 2023 +0200 patch 9.0.1832: xxd: reporting wrong version Problem: xxd: reporting wrong version (after 9.0.1827) Solution: Update version string Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 31 Aug 2023 21:15:03 +0200
parents 590424e87b65
children c9134a3ff7be
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