make: fix make on android/termux

pull/2831/head
Delyan Angelov 2019-11-21 14:03:45 +02:00 committed by Alexander Medvednikov
parent 597a6fead2
commit 00365b082f
1 changed files with 5 additions and 0 deletions

View File

@ -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)