view src/tee/Makefile @ 15134:f2972ff144ab v8.1.0577

patch 8.1.0577: tabpage right-click menu never shows "Close tab" commit https://github.com/vim/vim/commit/295471920def98ce84bc96e5d97c16d250c81621 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 11 20:39:19 2018 +0100 patch 8.1.0577: tabpage right-click menu never shows "Close tab" Problem: Tabpage right-click menu never shows "Close tab". Solution: Always create the "Close tab" item but ignore the event if there is only one tab.
author Bram Moolenaar <Bram@vim.org>
date Tue, 11 Dec 2018 20:45:06 +0100
parents d148cd1163a5
children c2fbac867d9c
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
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