view src/tee/Makefile @ 20723:8b2d3cd55f97 v8.2.0914

patch 8.2.0914: MS-Windows: cannot specify a "modified by" text Commit: https://github.com/vim/vim/commit/d8df304c59040ef6689a1e4af1dac27ce566909e Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 6 16:18:46 2020 +0200 patch 8.2.0914: MS-Windows: cannot specify a "modified by" text Problem: MS-Windows: cannot specify a "modified by" text. Solution: Add MODIFIED_BY in the MSVC build file. (Chen Lei, closes https://github.com/vim/vim/issues/1275)
author Bram Moolenaar <Bram@vim.org>
date Sat, 06 Jun 2020 16:30:04 +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