Mercurial > vim
view src/tee/Makefile @ 20774:10535993e913 v8.2.0939
patch 8.2.0939: checking for term escape sequences is long and confusing
Commit: https://github.com/vim/vim/commit/218cb0fb62d29fba552281c2e8ffeb4046d540c4
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 9 21:26:36 2020 +0200
patch 8.2.0939: checking for term escape sequences is long and confusing
Problem: checking for term escape sequences is long and confusing
Solution: Refactor code into separate functions.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 09 Jun 2020 21:30:03 +0200 |
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