1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

make: fix make on android/termux

This commit is contained in:
Delyan Angelov 2019-11-21 14:03:45 +02:00 committed by Alexander Medvednikov
parent 597a6fead2
commit 00365b082f

View File

@ -16,6 +16,11 @@ ifeq ($(_SYS),Darwin)
MAC := 1 MAC := 1
endif endif
ifdef ANDROID_ROOT
ANDROID := 1
undefine LINUX
endif
all: fresh_vc fresh_tcc all: fresh_vc fresh_tcc
ifdef WIN32 ifdef WIN32
$(CC) -std=c99 -w -o v0.exe vc/v_win.c $(LDFLAGS) $(CC) -std=c99 -w -o v0.exe vc/v_win.c $(LDFLAGS)