view src/xxd/Make_ming.mak @ 20111:f40231487a49 v8.2.0611

patch 8.2.0611: Vim9: no check for space before #comment Commit: https://github.com/vim/vim/commit/faac410409a8d693a0326ad9db42dca85419a391 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Apr 20 17:46:14 2020 +0200 patch 8.2.0611: Vim9: no check for space before #comment Problem: Vim9: no check for space before #comment. Solution: Add space checks.
author Bram Moolenaar <Bram@vim.org>
date Mon, 20 Apr 2020 18:00:03 +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