mirror of
https://github.com/Relintai/sfw.git
synced 2024-11-15 00:06:17 +01:00
12 lines
415 B
Bash
12 lines
415 B
Bash
|
|
||
|
#source ~/SDKs/emsdk/emsdk_env.sh
|
||
|
|
||
|
#saját fodítás
|
||
|
#em++ main.cpp libs/SDL2-js/lib/libSDL2.a -o game.html \
|
||
|
# -Ilibs/SDL2-js/include \
|
||
|
# -Ilibs/SDL2-js/lib
|
||
|
|
||
|
em++ main.cpp shader.cpp material.cpp mesh.cpp mesh_instance.cpp mesh_utils.cpp texture.cpp camera.cpp application.cpp scene.cpp game_scene.cpp object_2d.cpp tile_map.cpp sprite.cpp \
|
||
|
--embed-file download.bmp -o bin/game_js.html -s USE_SDL=2
|
||
|
|