view src/xxd/Make_mvc.mak @ 28631:198a2caa8ac2 v8.2.4839

patch 8.2.4839: compiler warning for unused argument Commit: https://github.com/vim/vim/commit/0a748d91846a4c3422975acc0af78c806623c191 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 28 15:39:08 2022 +0100 patch 8.2.4839: compiler warning for unused argument Problem: Compiler warning for unused argument. Solution: Add "UNUSED".
author Bram Moolenaar <Bram@vim.org>
date Thu, 28 Apr 2022 16:45:02 +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