view src/xxd/Make_ming.mak @ 33068:d42927c6e556 v9.0.1821

patch 9.0.1821: Vim9 constructors are always static Commit: https://github.com/vim/vim/commit/4b9777a1dfc10bd2634404cb039a0df539549c93 Author: Gianmaria Bajo <mg1979.git@gmail.com> Date: Tue Aug 29 22:26:30 2023 +0200 patch 9.0.1821: Vim9 constructors are always static Problem: Vim9 constructors are always static Solution: make the "static" keyword an error closes: #12945 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Gianmaria Bajo <mg1979.git@gmail.com>
author Christian Brabandt <cb@256bit.org>
date Tue, 29 Aug 2023 22:30:10 +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