From 00365b082f0485b3adcb7e66f958220bfceeb11c Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 21 Nov 2019 14:03:45 +0200 Subject: [PATCH] make: fix make on android/termux --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 813ad658c4..ca0ab0a0f3 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,11 @@ ifeq ($(_SYS),Darwin) MAC := 1 endif +ifdef ANDROID_ROOT +ANDROID := 1 +undefine LINUX +endif + all: fresh_vc fresh_tcc ifdef WIN32 $(CC) -std=c99 -w -o v0.exe vc/v_win.c $(LDFLAGS)