view src/xxd/Make_ming.mak @ 29660:e134ff00be57 v9.0.0170

patch 9.0.0170: various minor code formatting issues Commit: https://github.com/vim/vim/commit/113d9dec9958debbae2b611c98aed2f6f23c8502 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Aug 8 15:49:18 2022 +0100 patch 9.0.0170: various minor code formatting issues Problem: Various minor code formatting issues. Solution: Improve code formatting.
author Bram Moolenaar <Bram@vim.org>
date Mon, 08 Aug 2022 17:00: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