annotate src/tee/Makefile @ 28283:2fd2ce8a556c v8.2.4667

patch 8.2.4667: expandcmd() fails on an error Commit: https://github.com/vim/vim/commit/5018a836c030988944a9bbe2fd2e538bf5261a72 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sat Apr 2 21:12:21 2022 +0100 patch 8.2.4667: expandcmd() fails on an error Problem: expandcmd() fails on an error. Solution: On failure return the command unmodified. (yegappan Lakshmanan, closes #10063)
author Bram Moolenaar <Bram@vim.org>
date Sat, 02 Apr 2022 22:15:03 +0200
parents c2fbac867d9c
children ba9d53c7c509
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 CC=gcc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 CFLAGS=-O2 -fno-strength-reduce
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 tee.exe: tee.o
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 $(CC) $(CFLAGS) -s -o $@ $<
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 tee.o: tee.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 $(CC) $(CFLAGS) -c $<
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21