view src/xxd/Make_ming.mak @ 16627:58009c45c31c v8.1.1316

patch 8.1.1316: duplicated localtime() call commit https://github.com/vim/vim/commit/d6896731ecb74b419389f75d79210e088a9caa77 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 11 13:09:42 2019 +0200 patch 8.1.1316: duplicated localtime() call Problem: Duplicated localtime() call. Solution: Delete one.
author Bram Moolenaar <Bram@vim.org>
date Sat, 11 May 2019 13:15:05 +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