diff --git a/packages/variant-quickjs-browser-debug-asyncify-singlefile/Makefile b/packages/variant-quickjs-browser-debug-asyncify-singlefile/Makefile index 664c3053..0d3bf8fe 100644 --- a/packages/variant-quickjs-browser-debug-asyncify-singlefile/Makefile +++ b/packages/variant-quickjs-browser-debug-asyncify-singlefile/Makefile @@ -104,7 +104,7 @@ clean: WASM: $(DIST)/emscripten-module.js $(DIST)/emscripten-module.d.ts WASM_SYMBOLS=$(BUILD_WRAPPER)/symbols.json $(BUILD_WRAPPER)/asyncify-remove.json $(BUILD_WRAPPER)/asyncify-imports.json -$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(WRAPPER_DEFINES) $(EMCC_EXPORTED_FUNCS) -o $@ $< $(VARIANT_QUICKJS_OBJS) @@ -112,11 +112,11 @@ $(DIST)/emscripten-module.d.ts: $(TEMPLATES)/emscripten-module.$(SYNC).d.ts echo '// Generated from $<' > $@ cat $< >> $@ -$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) (BUILD_WRAPPER)/Makefile.changed +$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(CFLAGS_SORTED_FUNCS) $(WRAPPER_DEFINES) -c -o $@ $< -$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(EMCC_EXPORTED_FUNCS) $(QUICKJS_DEFINES) -c -o $@ $< @@ -131,7 +131,3 @@ $(BUILD_WRAPPER)/asyncify-remove.json: $(BUILD_WRAPPER)/asyncify-imports.json: $(MKDIRP) $(GENERATE_TS) async-callback-symbols $@ - -$(BUILD_WRAPPER)/Makefile.changed: Makefile - $(MKDIRP) - $(GENERATE_TS) hash $< $@ diff --git a/packages/variant-quickjs-browser-debug-asyncify-wasm/Makefile b/packages/variant-quickjs-browser-debug-asyncify-wasm/Makefile index ccef9e01..c6b2cd81 100644 --- a/packages/variant-quickjs-browser-debug-asyncify-wasm/Makefile +++ b/packages/variant-quickjs-browser-debug-asyncify-wasm/Makefile @@ -103,7 +103,7 @@ clean: WASM: $(DIST)/emscripten-module.js $(DIST)/emscripten-module.d.ts WASM_SYMBOLS=$(BUILD_WRAPPER)/symbols.json $(BUILD_WRAPPER)/asyncify-remove.json $(BUILD_WRAPPER)/asyncify-imports.json -$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(WRAPPER_DEFINES) $(EMCC_EXPORTED_FUNCS) -o $@ $< $(VARIANT_QUICKJS_OBJS) @@ -111,11 +111,11 @@ $(DIST)/emscripten-module.d.ts: $(TEMPLATES)/emscripten-module.$(SYNC).d.ts echo '// Generated from $<' > $@ cat $< >> $@ -$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) (BUILD_WRAPPER)/Makefile.changed +$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(CFLAGS_SORTED_FUNCS) $(WRAPPER_DEFINES) -c -o $@ $< -$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(EMCC_EXPORTED_FUNCS) $(QUICKJS_DEFINES) -c -o $@ $< @@ -130,7 +130,3 @@ $(BUILD_WRAPPER)/asyncify-remove.json: $(BUILD_WRAPPER)/asyncify-imports.json: $(MKDIRP) $(GENERATE_TS) async-callback-symbols $@ - -$(BUILD_WRAPPER)/Makefile.changed: Makefile - $(MKDIRP) - $(GENERATE_TS) hash $< $@ diff --git a/packages/variant-quickjs-browser-debug-sync-singlefile/Makefile b/packages/variant-quickjs-browser-debug-sync-singlefile/Makefile index 019b1bb9..ff77a69c 100644 --- a/packages/variant-quickjs-browser-debug-sync-singlefile/Makefile +++ b/packages/variant-quickjs-browser-debug-sync-singlefile/Makefile @@ -99,7 +99,7 @@ clean: WASM: $(DIST)/emscripten-module.js $(DIST)/emscripten-module.d.ts WASM_SYMBOLS=$(BUILD_WRAPPER)/symbols.json $(BUILD_WRAPPER)/asyncify-remove.json $(BUILD_WRAPPER)/asyncify-imports.json -$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(WRAPPER_DEFINES) $(EMCC_EXPORTED_FUNCS) -o $@ $< $(VARIANT_QUICKJS_OBJS) @@ -107,11 +107,11 @@ $(DIST)/emscripten-module.d.ts: $(TEMPLATES)/emscripten-module.$(SYNC).d.ts echo '// Generated from $<' > $@ cat $< >> $@ -$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) (BUILD_WRAPPER)/Makefile.changed +$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(CFLAGS_SORTED_FUNCS) $(WRAPPER_DEFINES) -c -o $@ $< -$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(EMCC_EXPORTED_FUNCS) $(QUICKJS_DEFINES) -c -o $@ $< @@ -126,7 +126,3 @@ $(BUILD_WRAPPER)/asyncify-remove.json: $(BUILD_WRAPPER)/asyncify-imports.json: $(MKDIRP) $(GENERATE_TS) async-callback-symbols $@ - -$(BUILD_WRAPPER)/Makefile.changed: Makefile - $(MKDIRP) - $(GENERATE_TS) hash $< $@ diff --git a/packages/variant-quickjs-browser-debug-sync-wasm/Makefile b/packages/variant-quickjs-browser-debug-sync-wasm/Makefile index a1279945..d2b41592 100644 --- a/packages/variant-quickjs-browser-debug-sync-wasm/Makefile +++ b/packages/variant-quickjs-browser-debug-sync-wasm/Makefile @@ -98,7 +98,7 @@ clean: WASM: $(DIST)/emscripten-module.js $(DIST)/emscripten-module.d.ts WASM_SYMBOLS=$(BUILD_WRAPPER)/symbols.json $(BUILD_WRAPPER)/asyncify-remove.json $(BUILD_WRAPPER)/asyncify-imports.json -$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(WRAPPER_DEFINES) $(EMCC_EXPORTED_FUNCS) -o $@ $< $(VARIANT_QUICKJS_OBJS) @@ -106,11 +106,11 @@ $(DIST)/emscripten-module.d.ts: $(TEMPLATES)/emscripten-module.$(SYNC).d.ts echo '// Generated from $<' > $@ cat $< >> $@ -$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) (BUILD_WRAPPER)/Makefile.changed +$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(CFLAGS_SORTED_FUNCS) $(WRAPPER_DEFINES) -c -o $@ $< -$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(EMCC_EXPORTED_FUNCS) $(QUICKJS_DEFINES) -c -o $@ $< @@ -125,7 +125,3 @@ $(BUILD_WRAPPER)/asyncify-remove.json: $(BUILD_WRAPPER)/asyncify-imports.json: $(MKDIRP) $(GENERATE_TS) async-callback-symbols $@ - -$(BUILD_WRAPPER)/Makefile.changed: Makefile - $(MKDIRP) - $(GENERATE_TS) hash $< $@ diff --git a/packages/variant-quickjs-browser-release-asyncify-singlefile/Makefile b/packages/variant-quickjs-browser-release-asyncify-singlefile/Makefile index adf71a6c..b40fa225 100644 --- a/packages/variant-quickjs-browser-release-asyncify-singlefile/Makefile +++ b/packages/variant-quickjs-browser-release-asyncify-singlefile/Makefile @@ -101,7 +101,7 @@ clean: WASM: $(DIST)/emscripten-module.js $(DIST)/emscripten-module.d.ts WASM_SYMBOLS=$(BUILD_WRAPPER)/symbols.json $(BUILD_WRAPPER)/asyncify-remove.json $(BUILD_WRAPPER)/asyncify-imports.json -$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(WRAPPER_DEFINES) $(EMCC_EXPORTED_FUNCS) -o $@ $< $(VARIANT_QUICKJS_OBJS) @@ -109,11 +109,11 @@ $(DIST)/emscripten-module.d.ts: $(TEMPLATES)/emscripten-module.$(SYNC).d.ts echo '// Generated from $<' > $@ cat $< >> $@ -$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) (BUILD_WRAPPER)/Makefile.changed +$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(CFLAGS_SORTED_FUNCS) $(WRAPPER_DEFINES) -c -o $@ $< -$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(EMCC_EXPORTED_FUNCS) $(QUICKJS_DEFINES) -c -o $@ $< @@ -128,7 +128,3 @@ $(BUILD_WRAPPER)/asyncify-remove.json: $(BUILD_WRAPPER)/asyncify-imports.json: $(MKDIRP) $(GENERATE_TS) async-callback-symbols $@ - -$(BUILD_WRAPPER)/Makefile.changed: Makefile - $(MKDIRP) - $(GENERATE_TS) hash $< $@ diff --git a/packages/variant-quickjs-browser-release-asyncify-wasm/Makefile b/packages/variant-quickjs-browser-release-asyncify-wasm/Makefile index 90516985..f9bb2649 100644 --- a/packages/variant-quickjs-browser-release-asyncify-wasm/Makefile +++ b/packages/variant-quickjs-browser-release-asyncify-wasm/Makefile @@ -100,7 +100,7 @@ clean: WASM: $(DIST)/emscripten-module.js $(DIST)/emscripten-module.d.ts WASM_SYMBOLS=$(BUILD_WRAPPER)/symbols.json $(BUILD_WRAPPER)/asyncify-remove.json $(BUILD_WRAPPER)/asyncify-imports.json -$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(WRAPPER_DEFINES) $(EMCC_EXPORTED_FUNCS) -o $@ $< $(VARIANT_QUICKJS_OBJS) @@ -108,11 +108,11 @@ $(DIST)/emscripten-module.d.ts: $(TEMPLATES)/emscripten-module.$(SYNC).d.ts echo '// Generated from $<' > $@ cat $< >> $@ -$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) (BUILD_WRAPPER)/Makefile.changed +$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(CFLAGS_SORTED_FUNCS) $(WRAPPER_DEFINES) -c -o $@ $< -$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(EMCC_EXPORTED_FUNCS) $(QUICKJS_DEFINES) -c -o $@ $< @@ -127,7 +127,3 @@ $(BUILD_WRAPPER)/asyncify-remove.json: $(BUILD_WRAPPER)/asyncify-imports.json: $(MKDIRP) $(GENERATE_TS) async-callback-symbols $@ - -$(BUILD_WRAPPER)/Makefile.changed: Makefile - $(MKDIRP) - $(GENERATE_TS) hash $< $@ diff --git a/packages/variant-quickjs-browser-release-sync-singlefile/Makefile b/packages/variant-quickjs-browser-release-sync-singlefile/Makefile index 051a54d0..859a184e 100644 --- a/packages/variant-quickjs-browser-release-sync-singlefile/Makefile +++ b/packages/variant-quickjs-browser-release-sync-singlefile/Makefile @@ -94,7 +94,7 @@ clean: WASM: $(DIST)/emscripten-module.js $(DIST)/emscripten-module.d.ts WASM_SYMBOLS=$(BUILD_WRAPPER)/symbols.json $(BUILD_WRAPPER)/asyncify-remove.json $(BUILD_WRAPPER)/asyncify-imports.json -$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(WRAPPER_DEFINES) $(EMCC_EXPORTED_FUNCS) -o $@ $< $(VARIANT_QUICKJS_OBJS) @@ -102,11 +102,11 @@ $(DIST)/emscripten-module.d.ts: $(TEMPLATES)/emscripten-module.$(SYNC).d.ts echo '// Generated from $<' > $@ cat $< >> $@ -$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) (BUILD_WRAPPER)/Makefile.changed +$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(CFLAGS_SORTED_FUNCS) $(WRAPPER_DEFINES) -c -o $@ $< -$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(EMCC_EXPORTED_FUNCS) $(QUICKJS_DEFINES) -c -o $@ $< @@ -121,7 +121,3 @@ $(BUILD_WRAPPER)/asyncify-remove.json: $(BUILD_WRAPPER)/asyncify-imports.json: $(MKDIRP) $(GENERATE_TS) async-callback-symbols $@ - -$(BUILD_WRAPPER)/Makefile.changed: Makefile - $(MKDIRP) - $(GENERATE_TS) hash $< $@ diff --git a/packages/variant-quickjs-browser-release-sync-wasm/Makefile b/packages/variant-quickjs-browser-release-sync-wasm/Makefile index d4a1150d..1f2a8d59 100644 --- a/packages/variant-quickjs-browser-release-sync-wasm/Makefile +++ b/packages/variant-quickjs-browser-release-sync-wasm/Makefile @@ -93,7 +93,7 @@ clean: WASM: $(DIST)/emscripten-module.js $(DIST)/emscripten-module.d.ts WASM_SYMBOLS=$(BUILD_WRAPPER)/symbols.json $(BUILD_WRAPPER)/asyncify-remove.json $(BUILD_WRAPPER)/asyncify-imports.json -$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(WRAPPER_DEFINES) $(EMCC_EXPORTED_FUNCS) -o $@ $< $(VARIANT_QUICKJS_OBJS) @@ -101,11 +101,11 @@ $(DIST)/emscripten-module.d.ts: $(TEMPLATES)/emscripten-module.$(SYNC).d.ts echo '// Generated from $<' > $@ cat $< >> $@ -$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) (BUILD_WRAPPER)/Makefile.changed +$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(CFLAGS_SORTED_FUNCS) $(WRAPPER_DEFINES) -c -o $@ $< -$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(EMCC_EXPORTED_FUNCS) $(QUICKJS_DEFINES) -c -o $@ $< @@ -120,7 +120,3 @@ $(BUILD_WRAPPER)/asyncify-remove.json: $(BUILD_WRAPPER)/asyncify-imports.json: $(MKDIRP) $(GENERATE_TS) async-callback-symbols $@ - -$(BUILD_WRAPPER)/Makefile.changed: Makefile - $(MKDIRP) - $(GENERATE_TS) hash $< $@ diff --git a/packages/variant-quickjs-node-cjs-debug-asyncify-wasm/Makefile b/packages/variant-quickjs-node-cjs-debug-asyncify-wasm/Makefile index 7e0a09db..8982186a 100644 --- a/packages/variant-quickjs-node-cjs-debug-asyncify-wasm/Makefile +++ b/packages/variant-quickjs-node-cjs-debug-asyncify-wasm/Makefile @@ -102,7 +102,7 @@ clean: WASM: $(DIST)/emscripten-module.js $(DIST)/emscripten-module.d.ts WASM_SYMBOLS=$(BUILD_WRAPPER)/symbols.json $(BUILD_WRAPPER)/asyncify-remove.json $(BUILD_WRAPPER)/asyncify-imports.json -$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(WRAPPER_DEFINES) $(EMCC_EXPORTED_FUNCS) -o $@ $< $(VARIANT_QUICKJS_OBJS) @@ -110,11 +110,11 @@ $(DIST)/emscripten-module.d.ts: $(TEMPLATES)/emscripten-module.$(SYNC).d.ts echo '// Generated from $<' > $@ cat $< >> $@ -$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) (BUILD_WRAPPER)/Makefile.changed +$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(CFLAGS_SORTED_FUNCS) $(WRAPPER_DEFINES) -c -o $@ $< -$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(EMCC_EXPORTED_FUNCS) $(QUICKJS_DEFINES) -c -o $@ $< @@ -129,7 +129,3 @@ $(BUILD_WRAPPER)/asyncify-remove.json: $(BUILD_WRAPPER)/asyncify-imports.json: $(MKDIRP) $(GENERATE_TS) async-callback-symbols $@ - -$(BUILD_WRAPPER)/Makefile.changed: Makefile - $(MKDIRP) - $(GENERATE_TS) hash $< $@ diff --git a/packages/variant-quickjs-node-cjs-debug-sync-wasm/Makefile b/packages/variant-quickjs-node-cjs-debug-sync-wasm/Makefile index 47ca04e2..4478e590 100644 --- a/packages/variant-quickjs-node-cjs-debug-sync-wasm/Makefile +++ b/packages/variant-quickjs-node-cjs-debug-sync-wasm/Makefile @@ -97,7 +97,7 @@ clean: WASM: $(DIST)/emscripten-module.js $(DIST)/emscripten-module.d.ts WASM_SYMBOLS=$(BUILD_WRAPPER)/symbols.json $(BUILD_WRAPPER)/asyncify-remove.json $(BUILD_WRAPPER)/asyncify-imports.json -$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(WRAPPER_DEFINES) $(EMCC_EXPORTED_FUNCS) -o $@ $< $(VARIANT_QUICKJS_OBJS) @@ -105,11 +105,11 @@ $(DIST)/emscripten-module.d.ts: $(TEMPLATES)/emscripten-module.$(SYNC).d.ts echo '// Generated from $<' > $@ cat $< >> $@ -$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) (BUILD_WRAPPER)/Makefile.changed +$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(CFLAGS_SORTED_FUNCS) $(WRAPPER_DEFINES) -c -o $@ $< -$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(EMCC_EXPORTED_FUNCS) $(QUICKJS_DEFINES) -c -o $@ $< @@ -124,7 +124,3 @@ $(BUILD_WRAPPER)/asyncify-remove.json: $(BUILD_WRAPPER)/asyncify-imports.json: $(MKDIRP) $(GENERATE_TS) async-callback-symbols $@ - -$(BUILD_WRAPPER)/Makefile.changed: Makefile - $(MKDIRP) - $(GENERATE_TS) hash $< $@ diff --git a/packages/variant-quickjs-node-cjs-release-asyncify-wasm/Makefile b/packages/variant-quickjs-node-cjs-release-asyncify-wasm/Makefile index e15dfaa4..faca303a 100644 --- a/packages/variant-quickjs-node-cjs-release-asyncify-wasm/Makefile +++ b/packages/variant-quickjs-node-cjs-release-asyncify-wasm/Makefile @@ -99,7 +99,7 @@ clean: WASM: $(DIST)/emscripten-module.js $(DIST)/emscripten-module.d.ts WASM_SYMBOLS=$(BUILD_WRAPPER)/symbols.json $(BUILD_WRAPPER)/asyncify-remove.json $(BUILD_WRAPPER)/asyncify-imports.json -$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(WRAPPER_DEFINES) $(EMCC_EXPORTED_FUNCS) -o $@ $< $(VARIANT_QUICKJS_OBJS) @@ -107,11 +107,11 @@ $(DIST)/emscripten-module.d.ts: $(TEMPLATES)/emscripten-module.$(SYNC).d.ts echo '// Generated from $<' > $@ cat $< >> $@ -$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) (BUILD_WRAPPER)/Makefile.changed +$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(CFLAGS_SORTED_FUNCS) $(WRAPPER_DEFINES) -c -o $@ $< -$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(EMCC_EXPORTED_FUNCS) $(QUICKJS_DEFINES) -c -o $@ $< @@ -126,7 +126,3 @@ $(BUILD_WRAPPER)/asyncify-remove.json: $(BUILD_WRAPPER)/asyncify-imports.json: $(MKDIRP) $(GENERATE_TS) async-callback-symbols $@ - -$(BUILD_WRAPPER)/Makefile.changed: Makefile - $(MKDIRP) - $(GENERATE_TS) hash $< $@ diff --git a/packages/variant-quickjs-node-cjs-release-sync-wasm/Makefile b/packages/variant-quickjs-node-cjs-release-sync-wasm/Makefile index ad39377c..9858d756 100644 --- a/packages/variant-quickjs-node-cjs-release-sync-wasm/Makefile +++ b/packages/variant-quickjs-node-cjs-release-sync-wasm/Makefile @@ -92,7 +92,7 @@ clean: WASM: $(DIST)/emscripten-module.js $(DIST)/emscripten-module.d.ts WASM_SYMBOLS=$(BUILD_WRAPPER)/symbols.json $(BUILD_WRAPPER)/asyncify-remove.json $(BUILD_WRAPPER)/asyncify-imports.json -$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(WRAPPER_DEFINES) $(EMCC_EXPORTED_FUNCS) -o $@ $< $(VARIANT_QUICKJS_OBJS) @@ -100,11 +100,11 @@ $(DIST)/emscripten-module.d.ts: $(TEMPLATES)/emscripten-module.$(SYNC).d.ts echo '// Generated from $<' > $@ cat $< >> $@ -$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) (BUILD_WRAPPER)/Makefile.changed +$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(CFLAGS_SORTED_FUNCS) $(WRAPPER_DEFINES) -c -o $@ $< -$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(EMCC_EXPORTED_FUNCS) $(QUICKJS_DEFINES) -c -o $@ $< @@ -119,7 +119,3 @@ $(BUILD_WRAPPER)/asyncify-remove.json: $(BUILD_WRAPPER)/asyncify-imports.json: $(MKDIRP) $(GENERATE_TS) async-callback-symbols $@ - -$(BUILD_WRAPPER)/Makefile.changed: Makefile - $(MKDIRP) - $(GENERATE_TS) hash $< $@ diff --git a/packages/variant-quickjs-node-esm-debug-asyncify-wasm/Makefile b/packages/variant-quickjs-node-esm-debug-asyncify-wasm/Makefile index 7f258d5e..d725909e 100644 --- a/packages/variant-quickjs-node-esm-debug-asyncify-wasm/Makefile +++ b/packages/variant-quickjs-node-esm-debug-asyncify-wasm/Makefile @@ -103,7 +103,7 @@ clean: WASM: $(DIST)/emscripten-module.js $(DIST)/emscripten-module.d.ts WASM_SYMBOLS=$(BUILD_WRAPPER)/symbols.json $(BUILD_WRAPPER)/asyncify-remove.json $(BUILD_WRAPPER)/asyncify-imports.json -$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(WRAPPER_DEFINES) $(EMCC_EXPORTED_FUNCS) -o $@ $< $(VARIANT_QUICKJS_OBJS) @@ -111,11 +111,11 @@ $(DIST)/emscripten-module.d.ts: $(TEMPLATES)/emscripten-module.$(SYNC).d.ts echo '// Generated from $<' > $@ cat $< >> $@ -$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) (BUILD_WRAPPER)/Makefile.changed +$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(CFLAGS_SORTED_FUNCS) $(WRAPPER_DEFINES) -c -o $@ $< -$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(EMCC_EXPORTED_FUNCS) $(QUICKJS_DEFINES) -c -o $@ $< @@ -130,7 +130,3 @@ $(BUILD_WRAPPER)/asyncify-remove.json: $(BUILD_WRAPPER)/asyncify-imports.json: $(MKDIRP) $(GENERATE_TS) async-callback-symbols $@ - -$(BUILD_WRAPPER)/Makefile.changed: Makefile - $(MKDIRP) - $(GENERATE_TS) hash $< $@ diff --git a/packages/variant-quickjs-node-esm-debug-sync-wasm/Makefile b/packages/variant-quickjs-node-esm-debug-sync-wasm/Makefile index 128684ac..d179f563 100644 --- a/packages/variant-quickjs-node-esm-debug-sync-wasm/Makefile +++ b/packages/variant-quickjs-node-esm-debug-sync-wasm/Makefile @@ -98,7 +98,7 @@ clean: WASM: $(DIST)/emscripten-module.js $(DIST)/emscripten-module.d.ts WASM_SYMBOLS=$(BUILD_WRAPPER)/symbols.json $(BUILD_WRAPPER)/asyncify-remove.json $(BUILD_WRAPPER)/asyncify-imports.json -$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(WRAPPER_DEFINES) $(EMCC_EXPORTED_FUNCS) -o $@ $< $(VARIANT_QUICKJS_OBJS) @@ -106,11 +106,11 @@ $(DIST)/emscripten-module.d.ts: $(TEMPLATES)/emscripten-module.$(SYNC).d.ts echo '// Generated from $<' > $@ cat $< >> $@ -$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) (BUILD_WRAPPER)/Makefile.changed +$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(CFLAGS_SORTED_FUNCS) $(WRAPPER_DEFINES) -c -o $@ $< -$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(EMCC_EXPORTED_FUNCS) $(QUICKJS_DEFINES) -c -o $@ $< @@ -125,7 +125,3 @@ $(BUILD_WRAPPER)/asyncify-remove.json: $(BUILD_WRAPPER)/asyncify-imports.json: $(MKDIRP) $(GENERATE_TS) async-callback-symbols $@ - -$(BUILD_WRAPPER)/Makefile.changed: Makefile - $(MKDIRP) - $(GENERATE_TS) hash $< $@ diff --git a/packages/variant-quickjs-node-esm-release-asyncify-wasm/Makefile b/packages/variant-quickjs-node-esm-release-asyncify-wasm/Makefile index 89ffdfb4..f59d76b4 100644 --- a/packages/variant-quickjs-node-esm-release-asyncify-wasm/Makefile +++ b/packages/variant-quickjs-node-esm-release-asyncify-wasm/Makefile @@ -100,7 +100,7 @@ clean: WASM: $(DIST)/emscripten-module.js $(DIST)/emscripten-module.d.ts WASM_SYMBOLS=$(BUILD_WRAPPER)/symbols.json $(BUILD_WRAPPER)/asyncify-remove.json $(BUILD_WRAPPER)/asyncify-imports.json -$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(WRAPPER_DEFINES) $(EMCC_EXPORTED_FUNCS) -o $@ $< $(VARIANT_QUICKJS_OBJS) @@ -108,11 +108,11 @@ $(DIST)/emscripten-module.d.ts: $(TEMPLATES)/emscripten-module.$(SYNC).d.ts echo '// Generated from $<' > $@ cat $< >> $@ -$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) (BUILD_WRAPPER)/Makefile.changed +$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(CFLAGS_SORTED_FUNCS) $(WRAPPER_DEFINES) -c -o $@ $< -$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(EMCC_EXPORTED_FUNCS) $(QUICKJS_DEFINES) -c -o $@ $< @@ -127,7 +127,3 @@ $(BUILD_WRAPPER)/asyncify-remove.json: $(BUILD_WRAPPER)/asyncify-imports.json: $(MKDIRP) $(GENERATE_TS) async-callback-symbols $@ - -$(BUILD_WRAPPER)/Makefile.changed: Makefile - $(MKDIRP) - $(GENERATE_TS) hash $< $@ diff --git a/packages/variant-quickjs-node-esm-release-sync-wasm/Makefile b/packages/variant-quickjs-node-esm-release-sync-wasm/Makefile index 26d5a470..e93183b2 100644 --- a/packages/variant-quickjs-node-esm-release-sync-wasm/Makefile +++ b/packages/variant-quickjs-node-esm-release-sync-wasm/Makefile @@ -93,7 +93,7 @@ clean: WASM: $(DIST)/emscripten-module.js $(DIST)/emscripten-module.d.ts WASM_SYMBOLS=$(BUILD_WRAPPER)/symbols.json $(BUILD_WRAPPER)/asyncify-remove.json $(BUILD_WRAPPER)/asyncify-imports.json -$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(WRAPPER_DEFINES) $(EMCC_EXPORTED_FUNCS) -o $@ $< $(VARIANT_QUICKJS_OBJS) @@ -101,11 +101,11 @@ $(DIST)/emscripten-module.d.ts: $(TEMPLATES)/emscripten-module.$(SYNC).d.ts echo '// Generated from $<' > $@ cat $< >> $@ -$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) (BUILD_WRAPPER)/Makefile.changed +$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(CFLAGS_SORTED_FUNCS) $(WRAPPER_DEFINES) -c -o $@ $< -$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(EMCC_EXPORTED_FUNCS) $(QUICKJS_DEFINES) -c -o $@ $< @@ -120,7 +120,3 @@ $(BUILD_WRAPPER)/asyncify-remove.json: $(BUILD_WRAPPER)/asyncify-imports.json: $(MKDIRP) $(GENERATE_TS) async-callback-symbols $@ - -$(BUILD_WRAPPER)/Makefile.changed: Makefile - $(MKDIRP) - $(GENERATE_TS) hash $< $@ diff --git a/templates/Variant.mk b/templates/Variant.mk index 0d226650..90bbe1a3 100644 --- a/templates/Variant.mk +++ b/templates/Variant.mk @@ -88,7 +88,7 @@ clean: WASM: $(DIST)/emscripten-module.js $(DIST)/emscripten-module.d.ts WASM_SYMBOLS=$(BUILD_WRAPPER)/symbols.json $(BUILD_WRAPPER)/asyncify-remove.json $(BUILD_WRAPPER)/asyncify-imports.json -$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(DIST)/emscripten-module.js: $(BUILD_WRAPPER)/interface.o $(VARIANT_QUICKJS_OBJS) $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(WRAPPER_DEFINES) $(EMCC_EXPORTED_FUNCS) -o $@ $< $(VARIANT_QUICKJS_OBJS) @@ -96,11 +96,11 @@ $(DIST)/emscripten-module.d.ts: $(TEMPLATES)/emscripten-module.$(SYNC).d.ts echo '// Generated from $<' > $@ cat $< >> $@ -$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) (BUILD_WRAPPER)/Makefile.changed +$(BUILD_WRAPPER)/%.o: $(WRAPPER_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(CFLAGS_SORTED_FUNCS) $(WRAPPER_DEFINES) -c -o $@ $< -$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(BUILD_WRAPPER)/Makefile.changed +$(BUILD_QUICKJS)/%.o: $(QUICKJS_ROOT)/%.c $(WASM_SYMBOLS) | $(EMCC_SRC) $(MKDIRP) $(EMCC) $(CFLAGS_WASM) $(EMCC_EXPORTED_FUNCS) $(QUICKJS_DEFINES) -c -o $@ $< @@ -115,7 +115,3 @@ $(BUILD_WRAPPER)/asyncify-remove.json: $(BUILD_WRAPPER)/asyncify-imports.json: $(MKDIRP) $(GENERATE_TS) async-callback-symbols $@ - -$(BUILD_WRAPPER)/Makefile.changed: Makefile - $(MKDIRP) - $(GENERATE_TS) hash $< $@