view src/xxd/Make_ming.mak @ 30387:3e7274cee9c4 v9.0.0529

patch 9.0.0529: appveyor setup contains outdated lines Commit: https://github.com/vim/vim/commit/8eaee1fa5c0ce474132a04e1b70b73c49c41cc45 Author: K.Takata <kentkt@csc.jp> Date: Wed Sep 21 12:19:44 2022 +0100 patch 9.0.0529: appveyor setup contains outdated lines Problem: Appveyor setup contains outdated lines. Solution: Remove outdated lines. (Ken Takata, closes https://github.com/vim/vim/issues/11182)
author Bram Moolenaar <Bram@vim.org>
date Wed, 21 Sep 2022 13:30:02 +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