summaryrefslogtreecommitdiffstats
path: root/Build/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Build/Makefile')
-rw-r--r--Build/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Build/Makefile b/Build/Makefile
index 6fe2da3..338fca8 100644
--- a/Build/Makefile
+++ b/Build/Makefile
@@ -10,6 +10,12 @@ make:
emcc:
$(EMCC) $(SOURCEDIR)/main.c ../FIR/firmath.c -s WASM=1 -O3 -o index.js $(EM_LDFALGS) -s EXTRA_EXPORTED_RUNTIME_METHODS='["ccall", "cwrap"]'
+
+
+deploy:
+ scp index.html fam@main.lv:/srv/http/wasm.main.lv/wasmfir
+ scp index.js fam@main.lv:/srv/http/wasm.main.lv/wasmfir
+ scp index.wasm fam@main.lv:/srv/http/wasm.main.lv/wasmfir
web:
darkhttpd ./ --port 12345