Files
SilentDragonXLite/lib/Makefile
Aditya Kulkarni 306c39bb09 Compile fixes
2019-10-15 14:01:11 -07:00

24 lines
567 B
Makefile

ifeq ($(shell uname),Darwin)
EXT := dylib
else
EXT := a
endif
all: release
winrelease: target/x86_64-pc-windows-gnu/release/zecwalletlite.lib
target/x86_64-pc-windows-gnu/release/zecwalletlite.lib: src/lib.rs Cargo.toml
cargo build --lib --release --target x86_64-pc-windows-gnu
release: target/release/zecwalletlite.$(EXT)
debug: target/debug/zecwalletlite.$(EXT)
target/release/zecwalletlite.$(EXT): src/lib.rs Cargo.toml
cargo build --lib --release
target/debug/zecwalletlite.$(EXT): src/lib.rs Cargo.toml
cargo build --lib
clean:
rm -rf target