view src/xxd/Make_ming.mak @ 17379:27abe2b6a094 v8.1.1688

patch 8.1.1688: old makefiles are no longer useful commit https://github.com/vim/vim/commit/1850b14c0d338eb27fb32d0d6e0bfb6944c75c5a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 14 15:09:59 2019 +0200 patch 8.1.1688: old makefiles are no longer useful Problem: Old makefiles are no longer useful. Solution: Delete the makefiles, they most likely don't work anyway.
author Bram Moolenaar <Bram@vim.org>
date Sun, 14 Jul 2019 15:15: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