Mercurial > vim
annotate src/tee/Makefile @ 27464:a14c4d3e3260 v8.2.4260
patch 8.2.4260: Vim9: can still use a global function without g:
Commit: https://github.com/vim/vim/commit/848faddb870f3ba4d84fcacd1cccb5cdbbfd9c41
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 30 15:28:30 2022 +0000
patch 8.2.4260: Vim9: can still use a global function without g:
Problem: Vim9: can still use a global function without g: at the script
level.
Solution: Also check for g: at the script level. (issue #9637)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 30 Jan 2022 16:30:04 +0100 |
parents | c2fbac867d9c |
children | ba9d53c7c509 |
rev | line source |
---|---|
14943
d95d6580d84b
patch 8.1.0483: MinGW does not build tee.exe
Bram Moolenaar <Bram@vim.org>
parents:
7
diff
changeset
|
1 # A very (if not the most) simplistic Makefile for MS-Windows and OS/2 |
7 | 2 |
3 CC=gcc | |
4 CFLAGS=-O2 -fno-strength-reduce | |
5 | |
14978
d148cd1163a5
patch 8.1.0500: cleaning up in src/tee may not always work
Bram Moolenaar <Bram@vim.org>
parents:
14943
diff
changeset
|
6 ifneq (sh.exe, $(SHELL)) |
21242
c2fbac867d9c
patch 8.2.1172: error messages when doing "make clean" in doc or tee
Bram Moolenaar <Bram@vim.org>
parents:
14978
diff
changeset
|
7 DEL = rm -f |
14978
d148cd1163a5
patch 8.1.0500: cleaning up in src/tee may not always work
Bram Moolenaar <Bram@vim.org>
parents:
14943
diff
changeset
|
8 else |
d148cd1163a5
patch 8.1.0500: cleaning up in src/tee may not always work
Bram Moolenaar <Bram@vim.org>
parents:
14943
diff
changeset
|
9 DEL = del |
d148cd1163a5
patch 8.1.0500: cleaning up in src/tee may not always work
Bram Moolenaar <Bram@vim.org>
parents:
14943
diff
changeset
|
10 endif |
d148cd1163a5
patch 8.1.0500: cleaning up in src/tee may not always work
Bram Moolenaar <Bram@vim.org>
parents:
14943
diff
changeset
|
11 |
7 | 12 tee.exe: tee.o |
13 $(CC) $(CFLAGS) -s -o $@ $< | |
14 | |
15 tee.o: tee.c | |
16 $(CC) $(CFLAGS) -c $< | |
17 | |
18 clean: | |
14978
d148cd1163a5
patch 8.1.0500: cleaning up in src/tee may not always work
Bram Moolenaar <Bram@vim.org>
parents:
14943
diff
changeset
|
19 - $(DEL) tee.o |
d148cd1163a5
patch 8.1.0500: cleaning up in src/tee may not always work
Bram Moolenaar <Bram@vim.org>
parents:
14943
diff
changeset
|
20 - $(DEL) tee.exe |
7 | 21 |