Skip to content

Commit

Permalink
Add dependencies for emscripten page directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
fragglet committed Jan 30, 2024
1 parent b50b07d commit 211c2b3
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions pkg/emscripten/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@

TOPLEVEL = ../..
DIST_FILES = error.png loading.gif sopwith.html
SOPWITH_JS = $(TOPLEVEL)/src/sopwith
SOPWITH_WASM = $(TOPLEVEL)/src/sopwith.wasm

all: page

page:
mkdir $@
cp $(DIST_FILES) $@/
cp ../../src/sopwith $@/sopwith.js
cp ../../src/sopwith.wasm $@/
page: $(SOPWITH_JS) $(SOPWITH_WASM) $(DIST_FILES)
mkdir -p $@
cp $(DIST_FILES) $(SOPWITH_WASM) $@/
cp $(SOPWITH_JS) $@/sopwith.js

clean:
rm -rf staging
rm -rf page

0 comments on commit 211c2b3

Please sign in to comment.