29 lines
464 B
Plaintext
29 lines
464 B
Plaintext
#
|
|
# makefile for Linux (x86, PPC, alpha ...)
|
|
#
|
|
|
|
OPTFLAGS=-g2
|
|
|
|
ALLFLAGS=${OPTFLAGS} -m32 -pipe -pthread -fmudflapth \
|
|
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
|
|
-DNDEBUG -DENV_UNIX \
|
|
-D_7ZIP_LARGE_PAGES \
|
|
-D_7ZIP_ASM \
|
|
$(LOCAL_FLAGS)
|
|
|
|
CXX=g++
|
|
CC=gcc
|
|
CC_SHARED=-fPIC
|
|
LINK_SHARED=-fPIC -shared
|
|
ASM=nasm -f elf
|
|
|
|
PRE_COMPILED_HEADER=StdAfx.h.gch
|
|
|
|
LOCAL_LIBS=-lmudflapth
|
|
LOCAL_LIBS_DLL=$(LOCAL_LIBS) -ldl
|
|
|
|
CPU=x86
|
|
OBJ_CRC32=$(OBJ_CRC32_x86)
|
|
OBJ_AES=AesOpt.o
|
|
|