view src/tee/Make_mvc.mak @ 20403:eba6981e3c9c v8.2.0756

patch 8.2.0756: MS-Windows: still a compiler warning Commit: https://github.com/vim/vim/commit/7e6f3fcc3ce89fc8ade85be39aa475e606c0b26c Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 15 18:21:51 2020 +0200 patch 8.2.0756: MS-Windows: still a compiler warning Problem: MS-Windows: still a compiler warning. Solution: Move flag to another place in the Makefile. (Ken Takata, closes #6083)
author Bram Moolenaar <Bram@vim.org>
date Fri, 15 May 2020 18:30:05 +0200
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