annotate src/tee/Make_mvc.mak @ 7475:6b5ce5161d6d v7.4.1040

commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 3 16:56:10 2016 +0100 patch 7.4.1040 Problem: The tee command is not available on MS-Windows. Solution: Adjust tee.c for MSVC and add a makefile. (Yasuhiro Matsumoto)
author Christian Brabandt <cb@256bit.org>
date Sun, 03 Jan 2016 17:00:04 +0100
parents
children a98b93736894
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7475
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 # A very (if not the most) simplistic Makefile for MSVC
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3 CC=cl
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
4 CFLAGS=/O2
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
5
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6 tee.exe: tee.obj
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
7 $(CC) $(CFLAGS) /Fo$@ $**
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
8
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
9 tee.obj: tee.c
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
10 $(CC) $(CFLAGS) /c $**
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
11
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
12 clean:
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
13 - del tee.obj
6b5ce5161d6d commit https://github.com/vim/vim/commit/24db72958fc91bd067c7d60a4990d09a6f295b48
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
14 - del tee.exe