shithub: drawterm-fdroid

ref: 0818148b0432a1b11d2feb72cca47156a603e884
dir: /Make.android-arm64/

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

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

all: default

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