mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
23 lines
403 B
Text
23 lines
403 B
Text
#
|
|
# makefile for Linux (x86, PPC, alpha ...)
|
|
#
|
|
|
|
OPTFLAGS=-O2
|
|
|
|
SLKCFLAGS=-march=i486 -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)
|
|
|