view src/tee/Makefile @ 20966:0ee7de260208 v8.2.1034

patch 8.2.1034: compiler warning for uninitialized variables Commit: https://github.com/vim/vim/commit/38041da1c263f5840f21e15484d7ccb30999ed62 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 21 22:17:18 2020 +0200 patch 8.2.1034: compiler warning for uninitialized variables Problem: Compiler warning for uninitialized variables. Solution: Add initializations. (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Sun, 21 Jun 2020 22:30:03 +0200
parents d148cd1163a5
children c2fbac867d9c
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
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