view src/tee/Makefile @ 19661:31d303c0c464 v8.2.0387

patch 8.2.0387: error for possible NULL argument to qsort() Commit: https://github.com/vim/vim/commit/bb65a5690c24ccfce37e210316bf1d0964c91359 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 15 18:15:03 2020 +0100 patch 8.2.0387: error for possible NULL argument to qsort() Problem: Error for possible NULL argument to qsort(). Solution: Don't call qsort() when there is nothing to sort. (Dominique Pelle, closes #5780)
author Bram Moolenaar <Bram@vim.org>
date Sun, 15 Mar 2020 18:30:04 +0100
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