view src/xxd/Make_ming.mak @ 17539:554240b9574b v8.1.1767

patch 8.1.1767: FEAT_SESSION defined separately commit https://github.com/vim/vim/commit/f96ae0b5a2e9e097c38cec04ec35364565d42271 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 28 15:21:55 2019 +0200 patch 8.1.1767: FEAT_SESSION defined separately Problem: FEAT_SESSION defined separately. Solution: Make FEAT_SESSION depend on FEAT_EVAL.
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Jul 2019 15:30:04 +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