diff options
| author | raysan5 <[email protected]> | 2022-02-12 19:08:31 +0100 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2022-02-12 19:08:31 +0100 |
| commit | 6ef6dbff2d86d8fbf11a138cafd17d13e791604e (patch) | |
| tree | e4c37871704151431b097e575b04dc5d86edd04c /src | |
| parent | d0008ae8cda8e0a7dda68b18c9e4be12fff00ae6 (diff) | |
| download | raylib-6ef6dbff2d86d8fbf11a138cafd17d13e791604e.tar.gz raylib-6ef6dbff2d86d8fbf11a138cafd17d13e791604e.zip | |
REVIEWED: PLATFORM_OS for PLATFORM_WEB
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 |
