view src/tee/Makefile @ 25676:0385bd4411b7 v8.2.3374

patch 8.2.3374: Pyret files are not recognized Commit: https://github.com/vim/vim/commit/eb05d05f8a049b32ba1b992074534ca4763e46b3 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 25 17:10:39 2021 +0200 patch 8.2.3374: Pyret files are not recognized Problem: Pyret files are not recognized. Solution: Recognize .arr files as Pyret. (Doug Kearns)
author Bram Moolenaar <Bram@vim.org>
date Wed, 25 Aug 2021 17:15:05 +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