view src/tee/Makefile @ 12557:a75fea44fb77 v8.0.1157

patch 8.0.1157: compiler warning on MS-Windows commit https://github.com/vim/vim/commit/9cf39cc57f63f57b4a335cd25371eb456824f049 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 27 21:46:19 2017 +0200 patch 8.0.1157: compiler warning on MS-Windows Problem: Compiler warning on MS-Windows. Solution: Add type cast. (Yasuhiro Matsomoto)
author Christian Brabandt <cb@256bit.org>
date Wed, 27 Sep 2017 22:00:05 +0200
parents 3fc0f57ecb91
children d95d6580d84b
line wrap: on
line source

# A very (if not the most) simplistic Makefile for OS/2

CC=gcc
CFLAGS=-O2 -fno-strength-reduce

tee.exe: tee.o
	$(CC) $(CFLAGS) -s -o $@ $<

tee.o: tee.c
	$(CC) $(CFLAGS) -c $<

clean:
	- del tee.o
	- del tee.exe