view src/xxd/Make_mvc.mak @ 30731:2295ee9c025d v9.0.0700

patch 9.0.0700: there is no real need for a "big" build Commit: https://github.com/vim/vim/commit/25f3a146a0e4c731b8608f4cfbbfdf7a71b2d05e Author: Martin Tournoij <martin@arp242.net> Date: Sat Oct 8 19:26:41 2022 +0100 patch 9.0.0700: there is no real need for a "big" build Problem: There is no real need for a "big" build. Solution: Move common features to "normal" build, less often used features to the "huge" build. (Martin Tournoij, closes #11283)
author Bram Moolenaar <Bram@vim.org>
date Sat, 08 Oct 2022 20:30:05 +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