summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 9a37dce..7c140b7 100755
--- a/build.sh
+++ b/build.sh
@@ -63,7 +63,9 @@ if { [[ $WEB -eq 0 ]]; } 2> /dev/null; then
$VALGRND $BIN/$NAME
fi
else
- emcc -o $BIN/portal-engine.html $SRC/*.c \
+ mkdir -p $BIN/web
+
+ emcc -o $BIN/web/portal-engine.html $SRC/*.c \
$PROD_FLAGS $LIB_FLAGS \
-s USE_SDL=2 -s ASYNCIFY \
--shell-file $SRC/shell.html \