view src/xxd/Make_ming.mak @ 15599:9da8ae285a02 v8.1.0807

patch 8.1.0807: session test fails on MS-Windows commit https://github.com/vim/vim/commit/9e79ccbe9ce6fce18939c7ac2e5ad059a3bd1951 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 24 15:57:30 2019 +0100 patch 8.1.0807: session test fails on MS-Windows Problem: Session test fails on MS-Windows. Solution: Don't try creating file with illegal name.
author Bram Moolenaar <Bram@vim.org>
date Thu, 24 Jan 2019 16:00:08 +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