diff options
Diffstat (limited to 'C/Util/LzmaLib/makefile')
| -rw-r--r-- | C/Util/LzmaLib/makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/C/Util/LzmaLib/makefile b/C/Util/LzmaLib/makefile new file mode 100644 index 0000000..b36f1de --- /dev/null +++ b/C/Util/LzmaLib/makefile | |||
| @@ -0,0 +1,36 @@ | |||
| 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\CpuArch.obj \ | ||
| 15 | $O\LzFind.obj \ | ||
| 16 | $O\LzFindMt.obj \ | ||
| 17 | $O\LzFindOpt.obj \ | ||
| 18 | $O\LzmaDec.obj \ | ||
| 19 | $O\LzmaEnc.obj \ | ||
| 20 | $O\LzmaLib.obj \ | ||
| 21 | $O\Threads.obj \ | ||
| 22 | |||
| 23 | OBJS = \ | ||
| 24 | $(LIB_OBJS) \ | ||
| 25 | $(C_OBJS) \ | ||
| 26 | $O\resource.res | ||
| 27 | |||
| 28 | !include "../../../CPP/Build.mak" | ||
| 29 | |||
| 30 | $(SLIBPATH): $O $(OBJS) | ||
| 31 | lib -out:$(SLIBPATH) $(OBJS) $(LIBS) | ||
| 32 | |||
| 33 | $(LIB_OBJS): $(*B).c | ||
| 34 | $(COMPL_O2) | ||
| 35 | $(C_OBJS): ../../$(*B).c | ||
| 36 | $(COMPL_O2) | ||
