diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-11-17 17:01:47 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-11-17 17:01:47 -0500 |
| commit | ce86e8a5a4bb3e095a37efb8774eb971ed1e7587 (patch) | |
| tree | 10d0cdcadbd3c00588adc45a8da30dbc7e097710 /Makefile | |
| parent | wasm: Update emscripten defaults (diff) | |
| download | DungeonCrawl-ce86e8a5a4bb3e095a37efb8774eb971ed1e7587.tar.gz DungeonCrawl-ce86e8a5a4bb3e095a37efb8774eb971ed1e7587.tar.bz2 DungeonCrawl-ce86e8a5a4bb3e095a37efb8774eb971ed1e7587.zip | |
wasm: make building alot simpler (most was nix only)
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -5,8 +5,6 @@ ASSETS_DST = $(patsubst game/www/%,dist/%,$(ASSETS_SRC)) TEST_PORT ?= 8000 -EMSDK ?= /usr/lib/emscripten -EMSDK_SYSROOT ?= $(EMSDK)/upstream/emscripten/cache/sysroot EMCC_CFLAGS := -O3 \ -sUSE_GLFW=3 \ -sASSERTIONS=1 \ @@ -24,7 +22,6 @@ dist: env \ CC=emcc \ EMCC_CFLAGS="$(EMCC_CFLAGS)" \ - C_INCLUDE_PATH="$(EMSDK_SYSROOT)/include:$(C_INCLUDE_PATH)" \ cargo build --target wasm32-unknown-emscripten --profile wasm mkdir -p dist cp ./target/wasm32-unknown-emscripten/wasm/game.js dist/game.js |