Mercurial > vim
view src/tee/Make_ming.mak @ 30170:ba9d53c7c509 v9.0.0421
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Commit: https://github.com/vim/vim/commit/5bc13453b2dd8067597793e32c4f94aa3031054a
Author: K.Takata <kentkt@csc.jp>
Date: Fri Sep 9 10:52:47 2022 +0100
patch 9.0.0421: MS-Windows makefiles are inconsistently named
Problem: MS-Windows makefiles are inconsistently named.
Solution: Use consistent names. (Ken Takata, closes https://github.com/vim/vim/issues/11088)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 09 Sep 2022 12:00:09 +0200 |
parents | |
children |
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