view src/xxd/Make_ming.mak @ 20427:0ab8f8880a33 v8.2.0768

patch 8.2.0768: Vim9: memory leak in script test Commit: https://github.com/vim/vim/commit/e75ba268b35a9b3a1f8b47668e657259555fc5fa Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 16 15:43:31 2020 +0200 patch 8.2.0768: Vim9: memory leak in script test Problem: Vim9: memory leak in script test. Solution: Clear typval before giving an error message.
author Bram Moolenaar <Bram@vim.org>
date Sat, 16 May 2020 15:45: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