From ff8443ec3d17b466790197cffd54f47699dce195 Mon Sep 17 00:00:00 2001 From: Matt <1009003+tantaman@users.noreply.github.com> Date: Mon, 27 Nov 2023 17:03:03 -0500 Subject: [PATCH] add `FORCE` palceholder --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 60779011..c58921a5 100644 --- a/Makefile +++ b/Makefile @@ -214,7 +214,7 @@ debug/crsqlite-sync.mjs: $(OBJ_FILES_DEBUG) $(RS_DEBUG_BC) $(EXPORTED_FUNCTIONS) $(EMFLAGS_INTERFACES) \ $(EMFLAGS_LIBRARIES) \ $(RS_WASM_TGT_DIR)/debug/deps/*.bc \ - $(OBJ_FILES_DEBUG) *.o -o $@ + $(OBJ_FILES_DEBUG) -o $@ debug/crsqlite.mjs: $(OBJ_FILES_DEBUG) $(RS_DEBUG_BC) $(EXPORTED_FUNCTIONS) $(EXPORTED_RUNTIME_METHODS) $(ASYNCIFY_IMPORTS) mkdir -p debug @@ -223,7 +223,7 @@ debug/crsqlite.mjs: $(OBJ_FILES_DEBUG) $(RS_DEBUG_BC) $(EXPORTED_FUNCTIONS) $(EX $(EMFLAGS_LIBRARIES) \ $(EMFLAGS_ASYNCIFY_DEBUG) \ $(RS_WASM_TGT_DIR)/debug/deps/*.bc \ - $(OBJ_FILES_DEBUG) *.o -o $@ + $(OBJ_FILES_DEBUG) -o $@ ## dist .PHONY: clean-dist @@ -233,13 +233,15 @@ clean-dist: .PHONY: dist dist: deps dist/crsqlite-sync.mjs dist/crsqlite.mjs +FORCE: ; + dist/crsqlite-sync.mjs: $(OBJ_FILES_DIST) $(RS_RELEASE_BC) $(EXPORTED_FUNCTIONS) $(EXPORTED_RUNTIME_METHODS) mkdir -p dist $(EMCC) $(EMFLAGS_DIST) \ $(EMFLAGS_INTERFACES) \ $(EMFLAGS_LIBRARIES) \ $(RS_WASM_TGT_DIR)/release/deps/*.bc \ - $(OBJ_FILES_DIST) *.o -o $@ + $(OBJ_FILES_DIST) -o $@ dist/crsqlite.mjs: $(OBJ_FILES_DIST) $(RS_RELEASE_BC) $(EXPORTED_FUNCTIONS) $(EXPORTED_RUNTIME_METHODS) $(ASYNCIFY_IMPORTS) mkdir -p dist @@ -248,5 +250,5 @@ dist/crsqlite.mjs: $(OBJ_FILES_DIST) $(RS_RELEASE_BC) $(EXPORTED_FUNCTIONS) $(EX $(EMFLAGS_LIBRARIES) \ $(EMFLAGS_ASYNCIFY_DIST) \ $(RS_WASM_TGT_DIR)/release/deps/*.bc \ - $(OBJ_FILES_DIST) *.o -o $@ + $(OBJ_FILES_DIST) -o $@