view src/tee/Makefile @ 15201:ce92157deb4e v8.1.0610

patch 8.1.0610: MS-Windows ctags file list differs from Unix commit https://github.com/vim/vim/commit/6dc6703295362e0d4b81a3eceae6b0dd229b5d7e Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 19 21:05:57 2018 +0100 patch 8.1.0610: MS-Windows ctags file list differs from Unix Problem: MS-Windows ctags file list differs from Unix. Solution: Define TAGS_FILES in the common makefile. (partly by Ken Takata)
author Bram Moolenaar <Bram@vim.org>
date Wed, 19 Dec 2018 21:15:05 +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