view src/tee/Make_mvc.mak @ 16017:6230ff29c39a v8.1.1014

patch 8.1.1014: MS-Windows: /analyze only defined for non-debug version commit https://github.com/vim/vim/commit/38db5276cd8f45fdf3dea8997e8994676e71b105 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 17 15:47:25 2019 +0100 patch 8.1.1014: MS-Windows: /analyze only defined for non-debug version Problem: MS-Windows: /analyze only defined for non-debug version. Solution: Move adding of /analyze up. (Taro Muraoka, closes https://github.com/vim/vim/issues/4114)
author Bram Moolenaar <Bram@vim.org>
date Sun, 17 Mar 2019 16:00:05 +0100
parents 590424e87b65
children
line wrap: on
line source

# A very (if not the most) simplistic Makefile for MSVC

SUBSYSTEM = console
!if "$(SUBSYSTEM_VER)" != ""
SUBSYSTEM = $(SUBSYSTEM),$(SUBSYSTEM_VER)
!endif

CC=cl
CFLAGS=/O2 /nologo

tee.exe: tee.obj
	$(CC) $(CFLAGS) /Fo$@ $** /link /subsystem:$(SUBSYSTEM)

tee.obj: tee.c
	$(CC) $(CFLAGS) /c $**

clean:
	- del tee.obj
	- del tee.exe