Home | History | Annotate | Download | only in LzmaLib
      1 MY_STATIC_LINK=1
      2 SLIB = sLZMA.lib
      3 PROG = LZMA.dll
      4 SLIBPATH = $O\$(SLIB)
      5 
      6 DEF_FILE = LzmaLib.def
      7 CFLAGS = $(CFLAGS) \
      8 
      9 LIB_OBJS = \
     10   $O\LzmaLibExports.obj \
     11 
     12 C_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 
     21 OBJS = \
     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