view src/xxd/Make_ming.mak @ 19235:befdf44737d1 v8.2.0176

patch 8.2.0176: generating os headers does not work for Swedish Commit: https://github.com/vim/vim/commit/e258368b4fb22fe5fc9bf510ac303a3542ff8e83 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 29 22:29:40 2020 +0100 patch 8.2.0176: generating os headers does not work for Swedish Problem: Generating os headers does not work for Swedish. Solution: Set the locale to C. (Christian Brabandt, closes https://github.com/vim/vim/issues/5258)
author Bram Moolenaar <Bram@vim.org>
date Wed, 29 Jan 2020 22:30:05 +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