view src/xxd/Make_ming.mak @ 15029:588a5fafbb61 v8.1.0526

patch 8.1.0526: running out of signal stack in RealWaitForChar commit https://github.com/vim/vim/commit/61fb8d8c6719205c686550e591db22aa97b4db4c Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 12 21:45:08 2018 +0100 patch 8.1.0526: running out of signal stack in RealWaitForChar Problem: Running out of signal stack in RealWaitForChar. (Vladimir Marek) Solution: Make the fd_set variables static.
author Bram Moolenaar <Bram@vim.org>
date Mon, 12 Nov 2018 22:00:06 +0100
parents a82b2d79e61b
children
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