view src/tee/Make_ming.mak @ 31433:c9da70c1e6d5 v9.0.1049

patch 9.0.1049: crash when opening a very small terminal window Commit: https://github.com/vim/vim/commit/67578e5bcf7404d40d42876b738b72e68add1a3e Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 12 13:47:44 2022 +0000 patch 9.0.1049: crash when opening a very small terminal window Problem: Crash when opening a very small terminal window. Solution: Instead of crashing fix the cursor position. (closes https://github.com/vim/vim/issues/11697)
author Bram Moolenaar <Bram@vim.org>
date Mon, 12 Dec 2022 15:00:05 +0100
parents ba9d53c7c509
children
line wrap: on
line source

# A very (if not the most) simplistic Makefile for MS-Windows and OS/2

CC=gcc
CFLAGS=-O2 -fno-strength-reduce

ifneq (sh.exe, $(SHELL))
DEL = rm -f
else
DEL = del
endif

tee.exe: tee.o
	$(CC) $(CFLAGS) -s -o $@ $<

tee.o: tee.c
	$(CC) $(CFLAGS) -c $<

clean:
	- $(DEL) tee.o
	- $(DEL) tee.exe