Mercurial > vim
view src/tee/Make_mvc.mak @ 16409:39f0af6c71ed v8.1.1209
patch 8.1.1209: clever compiler warns for buffer being too small
commit https://github.com/vim/vim/commit/5431589d25e73892fcf7ad1eaca53f742c1c9303
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 26 22:33:49 2019 +0200
patch 8.1.1209: clever compiler warns for buffer being too small
Problem: Clever compiler warns for buffer being too small.
Solution: Make the buffer bigger (even though it's not really needed).
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 26 Apr 2019 22:45:04 +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