view src/xxd/Make_ming.mak @ 31792:5369ce341633 v9.0.1228

patch 9.0.1228: fuzzy menu completion is only tested in the GUI Commit: https://github.com/vim/vim/commit/145a6afe3a4be54689af5233710c85346ba1e5da Author: zeertzjq <zeertzjq@outlook.com> Date: Sun Jan 22 12:41:55 2023 +0000 patch 9.0.1228: fuzzy menu completion is only tested in the GUI Problem: Fuzzy menu completion is only tested in the GUI. Solution: Make fuzzy menu completion test work without GUI. (closes #11861)
author Bram Moolenaar <Bram@vim.org>
date Sun, 22 Jan 2023 13:45: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