Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'C/Archive/7z/makefile')
-rwxr-xr-xC/Archive/7z/makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/C/Archive/7z/makefile b/C/Archive/7z/makefile
index d6181717..6ea3119a 100755
--- a/C/Archive/7z/makefile
+++ b/C/Archive/7z/makefile
@@ -1,5 +1,10 @@
PROG = 7zDec.exe
+!IFDEF CPU
+LIBS = $(LIBS) bufferoverflowU.lib
+CFLAGS = $(CFLAGS) -GS- -Zc:forScope -WX -GS- -Gy -W4
+!ENDIF
+
!IFNDEF O
!IFDEF CPU
O=$(CPU)
@@ -8,7 +13,7 @@ O=O
!ENDIF
!ENDIF
-CFLAGS = $(CFLAGS) -nologo -c -Fo$O/ -GS- -WX -Gy
+CFLAGS = $(CFLAGS) -nologo -c -Fo$O/ -D_LZMA_IN_CB
CFLAGS_O1 = $(CFLAGS) -O1
CFLAGS_O2 = $(CFLAGS) -O2
@@ -38,6 +43,8 @@ C_OBJS = \
OBJS = \
$(7Z_OBJS) \
$O\LzmaDecode.obj \
+ $O\BranchX86.obj \
+ $O\BranchX86_2.obj \
$(C_OBJS) \
all: $(PROGPATH)
@@ -56,5 +63,12 @@ $(7Z_OBJS): $(*B).c
$(COMPL)
$O\LzmaDecode.obj: ../../Compress/Lzma/$(*B).c
$(COMPL_O2)
+
+$O\BranchX86.obj: ../../Compress/Branch/$(*B).c
+ $(COMPL_O2)
+
+$O\BranchX86_2.obj: ../../Compress/Branch/$(*B).c
+ $(COMPL_O2)
+
$(C_OBJS): ../../$(*B).c
$(COMPL_O2)