-
Notifications
You must be signed in to change notification settings - Fork 10
/
Makefile.msv
34 lines (23 loc) · 840 Bytes
/
Makefile.msv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#------------------------------------------------
# tivodecode-ng Makefile for Microsoft Visual C++
# Usage: nmake -f Makefile.msv
#------------------------------------------------
COMPILER = $(CC) -nologo -c -O2 -DWIN32 -EHsc
all: tivodecode tdcat
O = obj
.SUFFIXES: .cxx
.cxx.obj::
$(COMPILER) $(CPPFLAGS) $<
OBJS1 = TuringFast.$(O) cli_common.$(O) getopt_td.$(O) happyfile.$(O) \
hexlib.$(O) md5.$(O) sha1.$(O) turing_stream.$(O) tivo_parse.$(O)
OBJS2 = tivo_decoder_base.$(O) tivo_decoder_mpeg_parser.$(O) \
tivo_decoder_ps.$(O) tivo_decoder_ts.$(O) tivo_decoder_ts_pkt.$(O) \
tivo_decoder_ts_stream.$(O)
tivodecode: tivodecode.$(O) $(OBJS1) $(OBJS2)
link -out:tivodecode.exe tivodecode.$(O) $(OBJS1) $(OBJS2)
tdcat: tdcat.$(O) $(OBJS1)
link -out:tdcat.exe tdcat.$(O) $(OBJS1)
clean:
del *.obj
del *.exe
!include depend