Updated Working for Web (HTML5) (markdown)

master
Ray 3 年之前
父節點
當前提交
bc4e166a64
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      Working-for-Web-(HTML5).md

+ 3
- 1
Working-for-Web-(HTML5).md

@ -73,7 +73,9 @@ From command-line, the following line must be called:
NOTE: `mingw32-make.exe` is provided by MinGW toolchain, other compiler toolchains could provide similar implementations, usually called just `make.exe`. In any case, `make` must be accessible from command-line to execute it.
If you are using the provided raylib installer with Notepad++, it comes with a Notepad++ script ready to compile raylib library using makefile, the script configures required paths and calls required `Makefile`. To do this, start up Notepad++ for raylib, open the `raylib.h` file, press F6, choose `raylib_makefile`, verify that in the script the web platform is set (`SET PLATFORM=PLATFORM_WEB`) and click OK to run the script.
If you are using the provided raylib installer with Notepad++, it comes with a Notepad++ script ready to compile raylib library using makefile, the script configures required paths and calls required `Makefile`. To do this, start up Notepad++ for raylib, open the `raylib.h` file, press F6, choose `raylib_makefile`, verify that in the script the web platform is set (`SET PLATFORM=PLATFORM_WEB`) and click OK to run the script.
Note that current raylib/src/Makefile just adds/replace the compiled modules to any existing `libraylib.a` (instead of recreating it) so, if you had a previously compiled `libraylib.a` for desktop and you recompile raylib src for web, old modules are still inside `libraylib.a`. Solution: just delete `libraylib.a` and recompile it for `PLATFORM_WEB` or the new platform.
* For Linux/macOS users :

Loading…
取消
儲存