view src/tee/Makefile @ 27414:b2d0357fec12 v8.2.4235

patch 8.2.4235: invalid check for NULL pointer Commit: https://github.com/vim/vim/commit/37cf413e3e768b76c975e4a7081472d75d649c72 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 27 20:47:03 2022 +0000 patch 8.2.4235: invalid check for NULL pointer Problem: Invalid check for NULL pointer. Solution: Remove the check.
author Bram Moolenaar <Bram@vim.org>
date Thu, 27 Jan 2022 22:00:04 +0100
parents c2fbac867d9c
children ba9d53c7c509
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