view src/tee/Make_mvc.mak @ 23388:57e79eda1a62 v8.2.2237

patch 8.2.2237: CI on Mac fails in sed command Commit: https://github.com/vim/vim/commit/ed1e4c9a70aaa7de56bac23e75a846e874a32a56 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 28 15:46:47 2020 +0100 patch 8.2.2237: CI on Mac fails in sed command Problem: CI on Mac fails in sed command. Solution: Set LC_ALL to "C". (Ozaki Kiichi, closes https://github.com/vim/vim/issues/7565)
author Bram Moolenaar <Bram@vim.org>
date Mon, 28 Dec 2020 16:00:03 +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