view src/xxd/Make_ming.mak @ 30896:87d9843b59db v9.0.0782

patch 9.0.0782: OpenVPN files are not recognized Commit: https://github.com/vim/vim/commit/4bf67ec52e938a3edaa4f452adab42a57505f940 Author: ObserverOfTime <chronobserver@disroot.org> Date: Mon Oct 17 15:28:47 2022 +0100 patch 9.0.0782: OpenVPN files are not recognized Problem: OpenVPN files are not recognized. Solution: Add patterns for OpenVPN files. (closes https://github.com/vim/vim/issues/11391)
author Bram Moolenaar <Bram@vim.org>
date Mon, 17 Oct 2022 16:30:04 +0200
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