
OPTFLAGS=-O3

# use "-m32" to have a 32bits executable
ALLFLAGS=-m64 ${OPTFLAGS} -pipe \
    	-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
	-DNDEBUG -D_REENTRANT -DENV_UNIX \
	-D_7ZIP_LARGE_PAGES \
	$(LOCAL_FLAGS)

CXX=clang++ $(ALLFLAGS)
CC=clang $(ALLFLAGS)
CC_SHARED=-fPIC
LINK_SHARED=-fPIC -shared

PRE_COMPILED_HEADER=StdAfx.h.gch

LOCAL_LIBS=-s -lpthread
LOCAL_LIBS_DLL=$(LOCAL_LIBS) -ldl

OBJ_CRC32=$(OBJ_CRC32_C)

