view src/xxd/Make_ming.mak @ 33136:aecd03679315 v9.0.1850

patch 9.0.1850: Vim9: wrong line number where options set Commit: https://github.com/vim/vim/commit/32f3461465a26192172734584c4cbab6e55e2b7f Author: LemonBoy <thatlemon@gmail.com> Date: Sat Sep 2 21:52:05 2023 +0200 patch 9.0.1850: Vim9: wrong line number where options set Problem: Vim9: wrong line number where options set Solution: Set source line number earlier closes: #13006 closes: #13013 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: LemonBoy <thatlemon@gmail.com>
author Christian Brabandt <cb@256bit.org>
date Sat, 02 Sep 2023 22:00:05 +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