radare2/mk/termux.mk
2019-08-01 04:39:40 +02:00

25 lines
401 B
Makefile

#CC=arm-linux-androideabi-gcc
CC=gcc -fPIC -fPIE
#RANLIB=ndk-ranlib
USERCC=gcc -fPIC -fPIE
ARCH=arm
RANLIB=ranlib
AR=ar
CC_AR=${AR} -r ${LIBAR}
PARTIALLD=ld -r --whole-archive
ONELIB=0
OSTYPE=android
PICFLAGS=-fPIC -fpic
CFLAGS+=${PICFLAGS}
CC_LIB=${CC} -shared -o
CFLAGS_INCLUDE=-I
LDFLAGS_LINK=-l
LDFLAGS_LINKPATH=-L
CFLAGS_OPT0=-O0
CFLAGS_OPT1=-O1
CFLAGS_OPT2=-O2
CFLAGS_OPT3=-O3
CFLAGS_DEBUG=-g