view src/xxd/Make_ming.mak @ 20021:4895e5cf1746 v8.2.0566

patch 8.2.0566: Vim9: variable can be used uninitialized Commit: https://github.com/vim/vim/commit/1a2f4bf6c80d750615f19c34e5baddd21310c9c9 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 12 23:09:25 2020 +0200 patch 8.2.0566: Vim9: variable can be used uninitialized Problem: Vim9: variable can be used uninitialized. Solution: Jump to after where variable is used.
author Bram Moolenaar <Bram@vim.org>
date Sun, 12 Apr 2020 23:15:03 +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