view src/tee/Make_ming.mak @ 30517:9e6796c75c07 v9.0.0594

patch 9.0.0594: Makefile error message causes a shell error Commit: https://github.com/vim/vim/commit/2cb4a89797477fc90c9d84b0d45e869369e39c75 Author: dundargoc <gocdundar@gmail.com> Date: Mon Sep 26 16:02:48 2022 +0100 patch 9.0.0594: Makefile error message causes a shell error Problem: Makefile error message causes a shell error. Solution: Put the message in single quotes. (closes https://github.com/vim/vim/issues/11232)
author Bram Moolenaar <Bram@vim.org>
date Mon, 26 Sep 2022 17:15:02 +0200
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