Skip to content

Commit abb1135

Browse files
authored
Merge pull request #493 from ChinYikMing/avoid-repeat-download
Move artifact target under emcc build condition
2 parents 563af8b + 1fd6e5e commit abb1135

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mk/wasm.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CFLAGS_emcc ?=
2-
deps_emcc := artifact
2+
deps_emcc :=
33
ASSETS := assets
44
WEB_HTML_RESOURCES := $(ASSETS)/html
55
WEB_JS_RESOURCES := $(ASSETS)/js
@@ -42,7 +42,7 @@ $(OUT)/elf_list.js: tools/gen-elf-list-js.py
4242
$(Q)tools/gen-elf-list-js.py > $@
4343

4444
# used to download all dependencies of elf executable and bundle into single wasm
45-
deps_emcc += $(OUT)/elf_list.js $(DOOM_DATA) $(QUAKE_DATA) $(TIMIDITY_DATA)
45+
deps_emcc += artifact $(OUT)/elf_list.js $(DOOM_DATA) $(QUAKE_DATA) $(TIMIDITY_DATA)
4646

4747
# check browser MAJOR version if supports TCO
4848
CHROME_MAJOR :=

0 commit comments

Comments
 (0)