view src/xxd/Make_ming.mak @ 12423:8e4ea67eca0b v8.0.1091

patch 8.0.1091: test for <cexpr> fails without +balloon_eval feature commit https://github.com/vim/vim/commit/95c83c64be8d4af74bfda1f283a5bcf3f110719e Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 10 18:44:29 2017 +0200 patch 8.0.1091: test for <cexpr> fails without +balloon_eval feature Problem: Test for <cexpr> fails without +balloon_eval feature. Solution: Remove #ifdefs.
author Christian Brabandt <cb@256bit.org>
date Sun, 10 Sep 2017 18:45:04 +0200
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