view src/xxd/Make_ming.mak @ 28676:89ff3a0fff82 v8.2.4862

patch 8.2.4862: Vim9: test may fail when run with valgrind Commit: https://github.com/vim/vim/commit/23d44493f1e82365f0a1dbd372fc2546811942f4 Author: Bram Moolenaar <Bram@vim.org> Date: Wed May 4 16:24:57 2022 +0100 patch 8.2.4862: Vim9: test may fail when run with valgrind Problem: Vim9: test may fail when run with valgrind. Solution: Wait longer for callback if needed.
author Bram Moolenaar <Bram@vim.org>
date Wed, 04 May 2022 17:30:03 +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