File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,13 @@ CFILES = \
1717 libvfs.c \
1818 $(CFILES_EXTRA )
1919
20+ JSFILES = \
21+ src/libauthorizer.js \
22+ src/libfunction.js \
23+ src/libmodule.js \
24+ src/libprogress.js \
25+ src/libvfs.js
26+
2027vpath % .c src
2128vpath % .c deps
2229vpath % .c deps/$(SQLITE_VERSION )
@@ -159,14 +166,14 @@ clean-debug:
159166.PHONY : debug
160167debug : debug/wa-sqlite.mjs debug/wa-sqlite-async.mjs
161168
162- debug/wa-sqlite.mjs : $(OBJ_FILES_DEBUG ) $(EXPORTED_FUNCTIONS ) $(EXPORTED_RUNTIME_METHODS )
169+ debug/wa-sqlite.mjs : $(OBJ_FILES_DEBUG ) $(JSFILES ) $( EXPORTED_FUNCTIONS ) $(EXPORTED_RUNTIME_METHODS )
163170 mkdir -p debug
164171 $(EMCC ) $(EMFLAGS_DEBUG ) \
165172 $(EMFLAGS_INTERFACES ) \
166173 $(EMFLAGS_LIBRARIES ) \
167174 $(OBJ_FILES_DEBUG ) -o $@
168175
169- debug/wa-sqlite-async.mjs : $(OBJ_FILES_DEBUG ) $(EXPORTED_FUNCTIONS ) $(EXPORTED_RUNTIME_METHODS ) $(ASYNCIFY_IMPORTS )
176+ debug/wa-sqlite-async.mjs : $(OBJ_FILES_DEBUG ) $(JSFILES ) $( EXPORTED_FUNCTIONS ) $(EXPORTED_RUNTIME_METHODS ) $(ASYNCIFY_IMPORTS )
170177 mkdir -p debug
171178 $(EMCC ) $(EMFLAGS_DEBUG ) \
172179 $(EMFLAGS_INTERFACES ) \
@@ -182,14 +189,14 @@ clean-dist:
182189.PHONY : dist
183190dist : dist/wa-sqlite.mjs dist/wa-sqlite-async.mjs
184191
185- dist/wa-sqlite.mjs : $(OBJ_FILES_DIST ) $(EXPORTED_FUNCTIONS ) $(EXPORTED_RUNTIME_METHODS )
192+ dist/wa-sqlite.mjs : $(OBJ_FILES_DIST ) $(JSFILES ) $( EXPORTED_FUNCTIONS ) $(EXPORTED_RUNTIME_METHODS )
186193 mkdir -p dist
187194 $(EMCC ) $(EMFLAGS_DIST ) \
188195 $(EMFLAGS_INTERFACES ) \
189196 $(EMFLAGS_LIBRARIES ) \
190197 $(OBJ_FILES_DIST ) -o $@
191198
192- dist/wa-sqlite-async.mjs : $(OBJ_FILES_DIST ) $(EXPORTED_FUNCTIONS ) $(EXPORTED_RUNTIME_METHODS ) $(ASYNCIFY_IMPORTS )
199+ dist/wa-sqlite-async.mjs : $(OBJ_FILES_DIST ) $(JSFILES ) $( EXPORTED_FUNCTIONS ) $(EXPORTED_RUNTIME_METHODS ) $(ASYNCIFY_IMPORTS )
193200 mkdir -p dist
194201 $(EMCC ) $(EMFLAGS_DIST ) \
195202 $(EMFLAGS_INTERFACES ) \
You can’t perform that action at this time.
0 commit comments