view src/xxd/Make_mvc.mak @ 19515:020056c2fd39 v8.2.0315

patch 8.2.0315: build failure on HP-UX system Commit: https://github.com/vim/vim/commit/c593bec4120f122e8a9129ec461968f1bd214435 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 25 21:26:49 2020 +0100 patch 8.2.0315: build failure on HP-UX system Problem: Build failure on HP-UX system. Solution: Use LONG_LONG_MIN instead of LLONG_MIN. Add type casts for switch statement. (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Tue, 25 Feb 2020 21:30:04 +0100
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