blob: f01e696419f2c442068b68110df6356decd7a1f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#
# makefile for Linux (x86, PPC, alpha ...)
#
OPTFLAGS=-O2
SLKCFLAGS=-march=i686 -mtune=i686
ALLFLAGS=${OPTFLAGS} ${SLKCFLAGS} -s \
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
-DNDEBUG -D_REENTRANT -DENV_UNIX \
$(LOCAL_FLAGS)
CXX=g++ $(ALLFLAGS)
CC=gcc $(ALLFLAGS)
CC_SHARED=-fPIC
LINK_SHARED=-fPIC -shared
LOCAL_LIBS=-lpthread
LOCAL_LIBS_DLL=$(LOCAL_LIBS) -ldl
OBJ_CRC32=$(OBJ_CRC32_C)
|