view src/xxd/Make_mvc.mak @ 19235:befdf44737d1 v8.2.0176

patch 8.2.0176: generating os headers does not work for Swedish Commit: https://github.com/vim/vim/commit/e258368b4fb22fe5fc9bf510ac303a3542ff8e83 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 29 22:29:40 2020 +0100 patch 8.2.0176: generating os headers does not work for Swedish Problem: Generating os headers does not work for Swedish. Solution: Set the locale to C. (Christian Brabandt, closes https://github.com/vim/vim/issues/5258)
author Bram Moolenaar <Bram@vim.org>
date Wed, 29 Jan 2020 22:30:05 +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