view src/tee/Makefile @ 20033:2e5e86ff7596 v8.2.0572

patch 8.2.0572: using two lines for free and reset Commit: https://github.com/vim/vim/commit/df1956075d9ff7b5869fb548734bc2a7be2bce44 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Apr 13 18:13:33 2020 +0200 patch 8.2.0572: using two lines for free and reset Problem: Using two lines for free and reset. Solution: Use VIM_CLEAR() instead. (Yegappan Lakshmanan)
author Bram Moolenaar <Bram@vim.org>
date Mon, 13 Apr 2020 18:15:04 +0200
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