blob: 0a4afa4974c090e46a7f923337e34231f34156ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# 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
# mnv: set noet sw=8 ts=8 sts=0 wm=0 tw=79 ft=make:
|