xref: /vim-8.2.3635/src/tee/Makefile (revision ea2d8d25)
1# A very (if not the most) simplistic Makefile for MS-Windows and OS/2
2
3CC=gcc
4CFLAGS=-O2 -fno-strength-reduce
5
6ifneq (sh.exe, $(SHELL))
7DEL = rm -f
8else
9DEL = del
10endif
11
12tee.exe: tee.o
13	$(CC) $(CFLAGS) -s -o $@ $<
14
15tee.o: tee.c
16	$(CC) $(CFLAGS) -c $<
17
18clean:
19	- $(DEL) tee.o
20	- $(DEL) tee.exe
21
22