view src/tee/Makefile @ 6923:9a13e3910e3d v7.4.780

patch 7.4.780 Problem: Compiler complains about uninitialized variable and clobbered variables. Solution: Add Initialization. Make variables static.
author Bram Moolenaar <bram@vim.org>
date Sun, 12 Jul 2015 16:21:23 +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