view src/xxd/Make_ming.mak @ 19669:c4062bd1ff4f v8.2.0391

patch 8.2.0391: CI test coverage dropped Commit: https://github.com/vim/vim/commit/b2e1f8a28fab71c7ef38d39226967be8c3559590 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 16 12:09:30 2020 +0100 patch 8.2.0391: CI test coverage dropped Problem: CI test coverage dropped. Solution: Set $DISPLAY also for non-GUI builds. (James McCoy, closes https://github.com/vim/vim/issues/5788)
author Bram Moolenaar <Bram@vim.org>
date Mon, 16 Mar 2020 12:15:04 +0100
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