diff options
author | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2021-12-27 00:00:00 +0000 |
---|---|---|
committer | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2022-03-18 15:35:13 +0500 |
commit | f19f813537c7aea1c20749c914e756b54a9c3cf5 (patch) | |
tree | 816ba62ca7c0fa19f2eb46d9e9d6f7dd7c3a744d /C/Util/LzmaLib/makefile | |
parent | 98e06a519b63b81986abe76d28887f6984a7732b (diff) | |
download | 7zip-21.07.tar.gz 7zip-21.07.tar.bz2 7zip-21.07.zip |
'21.07'21.07
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) | ||