diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile index c29701a3..cb9bb88c 100644 --- a/src/Makefile +++ b/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 |
