1MY_STATIC_LINK=1
2SLIB = sLZMA.lib
3PROG = LZMA.dll
4SLIBPATH = $O\$(SLIB)
5
6DEF_FILE = LzmaLib.def
7CFLAGS = $(CFLAGS) \
8
9LIB_OBJS = \
10  $O\LzmaLibExports.obj \
11
12C_OBJS = \
13  $O\Alloc.obj \
14  $O\LzFind.obj \
15  $O\LzFindMt.obj \
16  $O\LzmaDec.obj \
17  $O\LzmaEnc.obj \
18  $O\LzmaLib.obj \
19  $O\Threads.obj \
20
21OBJS = \
22  $(LIB_OBJS) \
23  $(C_OBJS) \
24  $O\resource.res
25
26!include "../../../CPP/Build.mak"
27
28$(SLIBPATH): $O $(OBJS)
29	lib -out:$(SLIBPATH) $(OBJS) $(LIBS)
30
31$(LIB_OBJS): $(*B).c
32	$(COMPL_O2)
33$(C_OBJS): ../../$(*B).c
34	$(COMPL_O2)
35