view src/xxd/Make_ming.mak @ 23352:37118deff718 v8.2.2219

patch 8.2.2219: Vim9: method call with expression not supported Commit: https://github.com/vim/vim/commit/7e3682068bebc53a5d1e9eaaba61bb4fa9c612da Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 25 21:56:57 2020 +0100 patch 8.2.2219: Vim9: method call with expression not supported Problem: Vim9: method call with expression not supported. Solution: Implement expr->(expr)().
author Bram Moolenaar <Bram@vim.org>
date Fri, 25 Dec 2020 22:00:04 +0100
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