Browse Source

REVIEWED: PLATFORM_OS for PLATFORM_WEB

pull/2342/head
raysan5 3 years ago
parent
commit
6ef6dbff2d
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      src/Makefile

+ 10
- 0
src/Makefile View File

@ -148,6 +148,16 @@ ifeq ($(PLATFORM),PLATFORM_DRM)
PLATFORM_OS = LINUX PLATFORM_OS = LINUX
endif endif
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) ifeq ($(PLATFORM),PLATFORM_WEB)
# Emscripten required variables # Emscripten required variables

Loading…
Cancel
Save