diff options
author | K.Takata <kentkt@csc.jp> | 2022-09-09 10:52:47 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-09 10:52:47 +0100 |
commit | 5bc13453b2dd8067597793e32c4f94aa3031054a (patch) | |
tree | 65ec7297bde790aaa686e0af77cb28d8aa50a393 /src/tee | |
parent | c572ad508f53bd89aa29081fc583f17ef1f0f123 (diff) | |
download | vim-git-5bc13453b2dd8067597793e32c4f94aa3031054a.tar.gz |
patch 9.0.0421: MS-Windows makefiles are inconsistently namedv9.0.0421
Problem: MS-Windows makefiles are inconsistently named.
Solution: Use consistent names. (Ken Takata, closes #11088)
Diffstat (limited to 'src/tee')
-rw-r--r-- | src/tee/Make_ming.mak | 21 | ||||
-rw-r--r-- | src/tee/Makefile | 23 |
2 files changed, 23 insertions, 21 deletions
diff --git a/src/tee/Make_ming.mak b/src/tee/Make_ming.mak new file mode 100644 index 000000000..f6e91358f --- /dev/null +++ b/src/tee/Make_ming.mak @@ -0,0 +1,21 @@ +# 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 + diff --git a/src/tee/Makefile b/src/tee/Makefile index f6e91358f..fe7777931 100644 --- a/src/tee/Makefile +++ b/src/tee/Makefile @@ -1,21 +1,2 @@ -# 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 - +$(warning This makefile is deprecated. Use Make_ming.mak instead.) +include Make_ming.mak |