view src/tee/Makefile @ 22679:9fa3f92248f6 v8.2.1888

patch 8.2.1888: Vim9: getbufline(-1, 1, '$') gives an error Commit: https://github.com/vim/vim/commit/e6e70a10f118ecfa9df2425e8724bc009bd09929 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 22 18:23:38 2020 +0200 patch 8.2.1888: Vim9: getbufline(-1, 1, '$') gives an error Problem: Vim9: Getbufline(-1, 1, '$') gives an error. Solution: Return an empty list. (closes https://github.com/vim/vim/issues/7180)
author Bram Moolenaar <Bram@vim.org>
date Thu, 22 Oct 2020 18:30:04 +0200
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