Skip to content

Commit

Permalink
formatting files
Browse files Browse the repository at this point in the history
  • Loading branch information
kalwalt committed Dec 1, 2024
1 parent e93a8e5 commit 92e8098
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions tools/makem.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const SINGLE_FILE_FLAG = " -s SINGLE_FILE=1 ";
const BIND_FLAG = " --bind ";

const EXPORTED_FUNCTIONS =
' -s EXPORTED_FUNCTIONS=["_malloc,_free"] -s EXPORTED_RUNTIME_METHODS=["FS,stringToUTF8,lengthBytesUTF8"] ';
' -s EXPORTED_FUNCTIONS=["_malloc,_free"] -s EXPORTED_RUNTIME_METHODS=["FS,stringToUTF8,lengthBytesUTF8"] ';

/* DEBUG FLAGS */
let DEBUG_FLAGS = " -g ";
Expand Down Expand Up @@ -176,7 +176,17 @@ function clean_builds() {
}

const compile_arlib = format(
EMCC + " " + INCLUDES + " " + ar_sources.join(" ") + FLAGS + " " + ZLIB_FLAG + " " + DEFINES + " -r -o {OUTPUT_PATH}libar.o ",
EMCC +
" " +
INCLUDES +
" " +
ar_sources.join(" ") +
FLAGS +
" " +
ZLIB_FLAG +
" " +
DEFINES +
" -r -o {OUTPUT_PATH}libar.o ",
OUTPUT_PATH,
);

Expand Down

0 comments on commit 92e8098

Please sign in to comment.