view src/xxd/Make_ming.mak @ 21204:3c91581cef33 v8.2.1153

patch 8.2.1153: Vim9: script test fails on some systems Commit: https://github.com/vim/vim/commit/bed36b939a4c66f41d1f24e32cfa521b10f22b82 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jul 7 23:31:36 2020 +0200 patch 8.2.1153: Vim9: script test fails on some systems Problem: Vim9: script test fails on some systems. Solution: Return proper value from Compare().
author Bram Moolenaar <Bram@vim.org>
date Tue, 07 Jul 2020 23:45:05 +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