0
0
mirror of https://github.com/vim/vim.git synced 2025-11-15 23:14:06 -05:00
Files
vim/src/tee/Make_mvc.mak
RestorerZ e34bdb844f patch 9.1.1675: MS-Windows: Makefiles can be refactored
Problem:  MS-Windows: Makefiles can be refactored
Solution: Refactor using a common tools.mak, make some style changes
          (RestorerZ).

closes: #18060

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-08-23 17:00:17 +02:00

25 lines
449 B
Makefile

# A very (if not the most) simplistic Makefile for MSVC
# included common tools
!INCLUDE ..\auto\nmake\tools.mak
SUBSYSTEM = console
!IF "$(SUBSYSTEM_VER)" != ""
SUBSYSTEM = $(SUBSYSTEM),$(SUBSYSTEM_VER)
!ENDIF
CC=cl
CFLAGS=/O2 /nologo
tee.exe: tee.obj
$(CC) $(CFLAGS) /Fo$@ $** /link /subsystem:$(SUBSYSTEM)
tee.obj: tee.c
$(CC) $(CFLAGS) /c $**
clean:
- $(RM) tee.obj
- $(RM) tee.exe
# vim: set noet sw=8 ts=8 sts=0 wm=0 tw=79 ft=make: