CARGO_BUILD_ARGS = --release --target x86_64-pc-windows-gnu STATLIB = ./rust/target/x86_64-pc-windows-gnu/release/kreuzberg_r.lib PKG_LIBS = -L./rust/target/x86_64-pc-windows-gnu/release -lkreuzberg_r -lws2_32 -ladvapi32 -luserenv -lbcrypt -lntdll all: $(SHLIB) $(STATLIB): cargo build --manifest-path ./rust/Cargo.toml $(CARGO_BUILD_ARGS) $(SHLIB): $(STATLIB) clean: rm -f $(SHLIB) $(STATLIB) cargo clean --manifest-path ./rust/Cargo.toml