view src/tee/Make_ming.mak @ 31264:a79a8c911704

Added tag v9.0.0965 for changeset d8e7d725a666af973182ff4ae6ce9470d82612e5
author Bram Moolenaar <Bram@vim.org>
date Mon, 28 Nov 2022 20:00:06 +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