view src/xxd/Make_mvc.mak @ 27758:5a8258fde1d9 v8.2.4405

patch 8.2.4405: compiler warning for unused variable without +folding Commit: https://github.com/vim/vim/commit/8329ab79b26be4c6c5766d80abae4a22385ee9e1 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 16 21:51:00 2022 +0000 patch 8.2.4405: compiler warning for unused variable without +folding Problem: Compiler warning for unused variable without the +folding feature. (Tony Mechelynck) Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Feb 2022 23:00:04 +0100
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