FLAGS=--release MODE=release ifdef DEV FLAGS=--all-features MODE=debug endif OUT_DIR=out PLUGINS=hello_plugin with_state WASM=target/wasm32-unknown-unknown/$(MODE)/%.wasm OUT_WASM=$(OUT_DIR)/%.js $(OUT_DIR)/plugins/%.js NATIVE=target/$(MODE)/% NATIVE_PLUGINS=target/$(MODE)/lib%.so default: clean native web native: runtime_native plugins_native web: runtime_web plugins_web $(OUT_DIR)/valor: $(OUT_DIR)/valor_bin ; @mv $< $@ runtime_native: $(OUT_DIR)/valor $(OUT_DIR)/valor.js: $(OUT_DIR)/valor_web.js @mv $< $@; mv $(> $< @cp $(basename $(