view src/xxd/Make_ming.mak @ 24446:f388a033e568 v8.2.2763

patch 8.2.2763: Vim9: cannot use type in for loop unpack at script level Commit: https://github.com/vim/vim/commit/a3589a0d6cdb314e70421c0f2e5a2d1abf68e597 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 14 13:30:46 2021 +0200 patch 8.2.2763: Vim9: cannot use type in for loop unpack at script level Problem: Vim9: cannot use type in for loop unpack at script level. Solution: Advance over the type name.
author Bram Moolenaar <Bram@vim.org>
date Wed, 14 Apr 2021 13:45:04 +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