view src/tee/Make_ming.mak @ 32192:e70c4cdad31d v9.0.1427

patch 9.0.1427: warning for uninitialized variable Commit: https://github.com/vim/vim/commit/1f76138ff1d08a8474cfcaf743448caf679416a3 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 25 11:31:32 2023 +0000 patch 9.0.1427: warning for uninitialized variable Problem: Warning for uninitialized variable. (Tony Mechelynck) Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 25 Mar 2023 12:45:05 +0100
parents ba9d53c7c509
children
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 -f
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