view src/xxd/Make_ming.mak @ 25076:5690cf66ee07 v8.2.3075

patch 8.2.3075: xxd always reports an old version string Commit: https://github.com/vim/vim/commit/80b2ba3e9602e09ab523e78946fbb26da311b68b Author: =?UTF-8?q?J=C3=BCrgen=20Weigert?= <jnweiger@gmail.com> Date: Tue Jun 29 20:36:25 2021 +0200 patch 8.2.3075: xxd always reports an old version string Problem: Xxd always reports an old version string. (?smund Ervik) Solution: Update the version string with the last known change date. (J?rgen Weigert, closes #8475)
author Bram Moolenaar <Bram@vim.org>
date Tue, 29 Jun 2021 20:45:03 +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