File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,14 +18,10 @@ SET MAKE=mingw32-make
1818echo
1919:: SET required web compilation options
2020:: -------------------------------------
21- SET CC = %EMSDK_PATH% \upstream\emscripten\emcc
22- SET CFLAGS = -Wall -std=c99 -D_DEFAULT_SOURCE -Wno-missing-braces -Wunused-result -O3 -I. -Iexternal -I%RAYLIB_PATH% \src -I%RAYLIB_PATH% \external -DPLATFORM_WEB
23- SET LDFLAGS = -L. -L$(RAYLIB_PATH)\src -sUSE_GLFW=3 -sEXPORTED_RUNTIME_METHODS=ccall -sASYNCIFY --shell-file %RAYLIB_PATH% \src\shell.html
24- SET LDLIBS = %RAYLIB_PATH% \src\libraylib.web.a
25- :: TODO: If using some resources/asSETs, SET the directory path as shown in the commented line!
26- :: SET RESOURCES=
27- :: SET RESOURCES=--preload-file $(RESOURCES_PATH)
28- cd %RAYLIB_PATH% \examples\%CATEGORY%
21+ :: SET CC=%EMSDK_PATH%\upstream\emscripten\emcc
22+ :: SET CFLAGS=-Wall -std=c99 -D_DEFAULT_SOURCE -Wno-missing-braces -Wunused-result -O3 -I. -Iexternal -I%RAYLIB_PATH%\src -I%RAYLIB_PATH%\external -DPLATFORM_WEB
23+ :: SET LDFLAGS=-L. -L$(RAYLIB_PATH)\src -sUSE_GLFW=3 -sEXPORTED_RUNTIME_METHODS=ccall -sASYNCIFY --shell-file %RAYLIB_PATH%\src\shell.html
24+ :: SET LDLIBS=%RAYLIB_PATH%\src\libraylib.web.a
2925echo
3026:: Clean latest build
3127:: ------------------------
You can’t perform that action at this time.
0 commit comments