view src/xxd/Make_ming.mak @ 25016:e321dbddc076 v8.2.3045

patch 8.2.3045: minor typos Commit: https://github.com/vim/vim/commit/98703d7f6c9a0ef9e54cb291a92342b9f96db732 Author: Christian Brabandt <cb@256bit.org> Date: Thu Jun 24 19:55:27 2021 +0200 patch 8.2.3045: minor typos Problem: Minor typos. Solution: Fix the typos. (Christian Brabandt, closes https://github.com/vim/vim/issues/8441)
author Bram Moolenaar <Bram@vim.org>
date Thu, 24 Jun 2021 20:00: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