view src/xxd/Make_mvc.mak @ 20307:ad6949eaa1c7 v8.2.0709

patch 8.2.0709: MS-Windows: compiler warning for int vs size_t Commit: https://github.com/vim/vim/commit/ea554ca4faf4a0b96706ea24130c4f485b24b241 Author: Bram Moolenaar <Bram@vim.org> Date: Thu May 7 17:46:59 2020 +0200 patch 8.2.0709: MS-Windows: compiler warning for int vs size_t Problem: MS-Windows: compiler warning for int vs size_t. Solution: Add type cast. (Mike Williams)
author Bram Moolenaar <Bram@vim.org>
date Thu, 07 May 2020 18:00:04 +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