shithub: drawterm

ref: 783e250a79a1134586e8f61e6785c4e1f7a7b1b2
dir: /Make.android-386/

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

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

all: default

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