view src/xxd/Make_cyg.mak @ 7256:79270eaac6de v7.4.936

commit https://github.com/vim/vim/commit/294a7e55b01149154807a23323038784549b8946 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 22 19:39:38 2015 +0100 patch 7.4.936 Problem: Crash when dragging with the mouse. Solution: Add safety check for NULL pointer. Check mouse position for valid value. (Hirohito Higashi)
author Christian Brabandt <cb@256bit.org>
date Sun, 22 Nov 2015 19:45:05 +0100
parents 0978e99043d2
children
line wrap: on
line source

# The most simplistic Makefile, for Cygnus 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