view src/tee/Makefile @ 18016:834b7854aa3c

Update runtime files Commit: https://github.com/vim/vim/commit/30e9b3c4256710781c3bd64efb33f138e4e074b3 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 7 16:24:12 2019 +0200 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Sat, 07 Sep 2019 16:30:03 +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