From cf631e23e1d0e29edac2e13446bdd42235c111fc Mon Sep 17 00:00:00 2001 From: kartofen Date: Sat, 15 Apr 2023 18:27:29 +0300 Subject: collision and depth shading --- build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'build.sh') 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 \ -- cgit v1.2.3