Mercurial > vim
view src/tee/Makefile @ 22602:2c77ec32deeb v8.2.1849
patch 8.2.1849: Vim9: garbage collection frees block-local variables
Commit: https://github.com/vim/vim/commit/ed234f24f3a6d697ba9b786d0bc74d4682bfdf47
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Oct 15 20:42:20 2020 +0200
patch 8.2.1849: Vim9: garbage collection frees block-local variables
Problem: Vim9: garbage collection frees block-local variables.
Solution: Mark all script variables as used.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 15 Oct 2020 20:45:05 +0200 |
parents | c2fbac867d9c |
children | ba9d53c7c509 |
line wrap: on
line source
# A very (if not the most) simplistic Makefile for MS-Windows and OS/2 CC=gcc CFLAGS=-O2 -fno-strength-reduce ifneq (sh.exe, $(SHELL)) DEL = rm -f else DEL = del endif tee.exe: tee.o $(CC) $(CFLAGS) -s -o $@ $< tee.o: tee.c $(CC) $(CFLAGS) -c $< clean: - $(DEL) tee.o - $(DEL) tee.exe