shithub: drawterm

ref: 207a95163f5a047e1f8ed8b77f1c4ab2b08edb64
dir: /Make.android-amd64/

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

PTHREAD=-pthread
AR=$(NDKPREFIX)/x86_64-linux-android-ar
AS=$(NDKPREFIX)/x86_64-linux-android-as
RANLIB=$(NDKPREFIX)/x86_64-linux-android-ranlib
STRIP=$(NDKPREFIX)/x86_64-linux-android-strip
CC=$(NDKPREFIX)/x86_64-linux-android$(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/x86_64/libdrawterm.so
AUDIO=none

all: default

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