view src/xxd/Make_ming.mak @ 16780:491c01280a5d v8.1.1392

patch 8.1.1392: build failure in tiny version commit https://github.com/vim/vim/commit/682725c1415f50681877df60257115a966e2a3d4 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 25 20:10:37 2019 +0200 patch 8.1.1392: build failure in tiny version Problem: Build failure in tiny version. Solution: Define ex_popupclear to ex_ni if not implemented. Add UNUSED.
author Bram Moolenaar <Bram@vim.org>
date Sat, 25 May 2019 20:15: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