summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2023-04-15 18:27:29 +0300
committerkartofen <mladenovnasko0@gmail.com>2023-04-15 18:27:29 +0300
commitcf631e23e1d0e29edac2e13446bdd42235c111fc (patch)
tree141f85599c7bd47b3fcb0a3088a5ce117d6e18fd /build.sh
parent02ec17653ee5399eac67871dfd5fb193bb9dce2f (diff)
collision and depth shading
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 \