diff options
| author | Ray <[email protected]> | 2023-10-22 15:16:08 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-10-22 15:16:08 +0200 |
| commit | 9127ee2ff951d72571cc64c801bb279755067323 (patch) | |
| tree | 0574423cd7bb542b718bc84fc3b4aa97458fe43e | |
| parent | 2b90b5600c28a6478eff7c2114eb8f7bdb6600dd (diff) | |
| parent | ea325c54e89743432eef7b22e724515b53501767 (diff) | |
| download | raylib-9127ee2ff951d72571cc64c801bb279755067323.tar.gz raylib-9127ee2ff951d72571cc64c801bb279755067323.zip | |
Merge branch 'master' of https://github.com/raysan5/raylib
| -rw-r--r-- | examples/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile index 74b3b874..136a0ab4 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -156,7 +156,7 @@ ifeq ($(PLATFORM),PLATFORM_ANDROID) MAKE = mingw32-make endif ifeq ($(PLATFORM),PLATFORM_WEB) - MAKE = mingw32-make + MAKE = emmake make endif # Define compiler flags: CFLAGS @@ -533,6 +533,8 @@ others: $(OTHERS) %: %.c ifeq ($(PLATFORM),PLATFORM_ANDROID) $(MAKE) -f Makefile.Android PROJECT_NAME=$@ PROJECT_SOURCE_FILES=$< +else ifeq ($(PLATFORM),PLATFORM_WEB) + $(MAKE) -f Makefile.Web $@ else $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) endif |
