Skip to content

Commit 30debf0

Browse files
committed
create the 'out' directory if it doesnt exist already
1 parent a606291 commit 30debf0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,18 @@ dist/worker.sql-wasm-debug.js: dist/sql-wasm-debug.js out/worker.js
123123
# rm out/tmp-raw.js
124124

125125
out/api.js: src/output-pre.js src/api.coffee src/exports.coffee src/api-data.coffee src/output-post.js
126+
mkdir -p out
126127
cat src/api.coffee src/exports.coffee src/api-data.coffee | coffee --bare --compile --stdio > $@
127128
cat src/output-pre.js $@ src/output-post.js > out/api-wrapped.js
128129
mv out/api-wrapped.js $@
129130

130131
out/sqlite3.bc: sqlite-src/$(SQLITE_AMALGAMATION)
132+
mkdir -p out
131133
# Generate llvm bitcode
132134
$(EMCC) $(CFLAGS) sqlite-src/$(SQLITE_AMALGAMATION)/sqlite3.c -o $@
133135

134136
out/extension-functions.bc: sqlite-src/$(SQLITE_AMALGAMATION)/$(EXTENSION_FUNCTIONS)
137+
mkdir -p out
135138
$(EMCC) $(CFLAGS) -s LINKABLE=1 sqlite-src/$(SQLITE_AMALGAMATION)/extension-functions.c -o $@
136139

137140
# TODO: This target appears to be unused. If we re-instatate it, we'll need to add more files inside of the JS folder

0 commit comments

Comments
 (0)