REVIEWED: PLATFORM_OS for PLATFORM_WEB
This commit is contained in:
parent
d0008ae8cd
commit
6ef6dbff2d
1 changed files with 10 additions and 0 deletions
10
src/Makefile
10
src/Makefile
|
@ -148,6 +148,16 @@ ifeq ($(PLATFORM),PLATFORM_DRM)
|
|||
PLATFORM_OS = LINUX
|
||||
endif
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_WEB)
|
||||
ifeq ($(OS),Windows_NT)
|
||||
PLATFORM_OS = WINDOWS
|
||||
else
|
||||
UNAMEOS = $(shell uname)
|
||||
ifeq ($(UNAMEOS),Linux)
|
||||
PLATFORM_OS = LINUX
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(PLATFORM),PLATFORM_WEB)
|
||||
# Emscripten required variables
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue