Mercurial > vim
view src/xxd/Make_ming.mak @ 19172:73f893d8776a v8.2.0145
patch 8.2.0145: using #error for compilation errors should be OK now
Commit: https://github.com/vim/vim/commit/2c02d3843a103826a3eb44357eaab09b7deb256b
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 23 16:52:01 2020 +0100
patch 8.2.0145: using #error for compilation errors should be OK now
Problem: Using #error for compilation errors should be OK now.
Solution: Use #error. (Ken Takata, closes https://github.com/vim/vim/issues/5299)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 23 Jan 2020 17:00:04 +0100 |
parents | a82b2d79e61b |
children | 3835b742025e |
line wrap: on
line source
# The most simplistic Makefile, for MinGW and Cygwin gcc on MS-DOS ifndef USEDLL USEDLL = no endif ifeq (yes, $(USEDLL)) DEFINES = LIBS = -lc else DEFINES = LIBS = endif CC = gcc CFLAGS = -O2 -Wall -DWIN32 $(DEFINES) ifneq (sh.exe, $(SHELL)) DEL = rm else DEL = del endif xxd.exe: xxd.c $(CC) $(CFLAGS) -s -o xxd.exe xxd.c $(LIBS) clean: -$(DEL) xxd.exe