view src/xxd/Make_ming.mak @ 12792:f3a7ce8edce9 v8.0.1273

patch 8.0.1273: old test file remaining commit https://github.com/vim/vim/commit/4148be468f82eb4bf463be3610b00a132aee4186 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 6 20:41:19 2017 +0100 patch 8.0.1273: old test file remaining Problem: Old test file remaining. Solution: Delete it.
author Christian Brabandt <cb@256bit.org>
date Mon, 06 Nov 2017 20:45:04 +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