diff --git a/build b/build index 6ad1792..6d08535 100755 --- a/build +++ b/build @@ -97,9 +97,9 @@ case $ARCH in WEB_EXPORTS="-s EXPORTED_FUNCTIONS=[\"_undar_compile\",\"_malloc\",\"_free\"] -s EXPORTED_RUNTIME_METHODS=[\"cwrap\"]" - BUILD_CMD="$CC $SRC_DIR/main.c emit/rer/emit.c emit/uxn/emit.c $BUILD_DIR/libc.o $BUILD_DIR/list.o $BUILD_DIR/lexer.o $BUILD_DIR/compiler.o $BUILD_DIR/strbuf.o -o $BUILD_DIR/undar.js $WEB_BUILD_FLAGS $WEB_EXPORTS" + BUILD_CMD="$CC $SRC_DIR/main.c emit/rer/emit.c emit/uxn/emit.c $BUILD_DIR/libc.o $BUILD_DIR/list.o $BUILD_DIR/lexer.o $BUILD_DIR/compiler.o $BUILD_DIR/strbuf.o -o $BUILD_DIR/compiler.js $WEB_BUILD_FLAGS $WEB_EXPORTS" - cp ./tools/index.html $BUILD_DIR/ + cp ./tools/compiler.html $BUILD_DIR/ ;; esac diff --git a/tools/index.html b/tools/compiler.html similarity index 100% rename from tools/index.html rename to tools/compiler.html