22 lines
389 B
Makefile
22 lines
389 B
Makefile
|
CC=mad gcc
|
||
|
RANLIB=mad ranlib
|
||
|
ONELIB=0
|
||
|
CC_AR=mad ar qf ${LIBAR}
|
||
|
PIC_CFLAGS=-fPIC
|
||
|
CFLAGS+=-MD
|
||
|
CFLAGS_INCLUDE=-I
|
||
|
LDFLAGS_LINK=-l
|
||
|
LDFLAGS_LINKPATH=-L
|
||
|
CFLAGS_OPT0=-O0
|
||
|
CFLAGS_OPT1=-O1
|
||
|
CFLAGS_OPT2=-O2
|
||
|
CFLAGS_OPT3=-O3
|
||
|
CFLAGS_DEBUG=-g
|
||
|
|
||
|
OSTYPE=gnulinux
|
||
|
LDFLAGS_LIB=-shared
|
||
|
LDFLAGS_LIB+=-Wl,-soname,lib${NAME}.${EXT_SO}.${VERSION}
|
||
|
LDFLAGS_SONAME=-Wl,-soname=
|
||
|
|
||
|
CC_LIB=${CC} ${LDFLAGS_LIB} -o ${LIBSO}
|