mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
makefile: Detect Linux
This commit is contained in:

committed by
Alexander Medvednikov

parent
6e62d9709f
commit
59d4535f84
7
Makefile
7
Makefile
@ -5,7 +5,12 @@ _SYS := $(patsubst MSYS%,MSYS,$(_SYS))
|
|||||||
_SYS := $(patsubst MINGW%,MinGW,$(_SYS))
|
_SYS := $(patsubst MINGW%,MinGW,$(_SYS))
|
||||||
|
|
||||||
ifneq ($(filter $(_SYS),MSYS MinGW),)
|
ifneq ($(filter $(_SYS),MSYS MinGW),)
|
||||||
WIN32:=1
|
WIN32 := 1
|
||||||
|
endif
|
||||||
|
|
||||||
|
_SYS := $(shell uname -o)
|
||||||
|
ifeq ($(_SYS),GNU/Linux)
|
||||||
|
LINUX := 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all: fresh_vc fresh_tcc
|
all: fresh_vc fresh_tcc
|
||||||
|
Reference in New Issue
Block a user