shithub: drawterm

ref: 6dbca8e2f85408be9486a3145f74bb0c3d2e46e1
dir: /Make.android-arm/

View raw version
# Android
include $(ROOT)/Make.android.config

PTHREAD=-pthread
AR=$(NDKPREFIX)/arm-linux-androideabi-ar
AS=$(NDKPREFIX)/arm-linux-androideabi-as
RANLIB=$(NDKPREFIX)/arm-linux-androideabi-ranlib
STRIP=$(NDKPREFIX)/arm-linux-androideabi-strip
CC=$(NDKPREFIX)/armv7a-linux-androideabi$(PLATFORM)-clang
CFLAGS=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -Dmain=dt_main -fPIC
O=o
OS=posix
GUI=android
LDADD=-ggdb -lm -shared -llog -landroid
LDFLAGS=$(PTHREAD)
TARG=lib/armeabi-v7a/libdrawterm.so
AUDIO=none

all: default

libmachdep.a:
	arch=arm; \
	(cd posix-$$arch &&  make)