Mercurial > vim
view src/xxd/Make_ming.mak @ 20297:5f0611bc6377 v8.2.0704
patch 8.2.0704: Vim9: memory leak in disassemble test
Commit: https://github.com/vim/vim/commit/f821ddaa0c27230012a6bffbec6fb0ab2f101171
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed May 6 22:18:17 2020 +0200
patch 8.2.0704: Vim9: memory leak in disassemble test
Problem: Vim9: memory leak in disassemble test.
Solution: Decrement refcount when creating funccal.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 06 May 2020 22:30:04 +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