view src/tee/Makefile @ 7399:d45f2dbdac8d v7.4.1004

commit https://github.com/vim/vim/commit/08b7bae91adb79d30d4c923fd758e2f7cecd33ef Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 30 17:56:05 2015 +0100 patch 7.4.1004 Problem: Using Makefile when auto/config.mk does not exists results in warnings. Solution: Use default values for essential variables.
author Christian Brabandt <cb@256bit.org>
date Wed, 30 Dec 2015 18:00:04 +0100
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