Hush lite wallet https://faq.hush.is/sdl
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
751 B

5 years ago
ifeq ($(shell uname),Darwin)
EXT := dylib
CFLAGS := "-mmacosx-version-min=10.11"
5 years ago
else
EXT := a
CFLAGS := ""
5 years ago
endif
PWD := $(shell pwd)
5 years ago
all: release
5 years ago
winrelease: target/x86_64-pc-windows-gnu/release/silentdragonlite.lib
5 years ago
5 years ago
target/x86_64-pc-windows-gnu/release/silentdragonlite.lib: src/lib.rs Cargo.toml
SODIUM_LIB_DIR="$(PWD)/libsodium-mingw/" cargo build --lib --release --target x86_64-pc-windows-gnu
5 years ago
5 years ago
release: target/release/silentdragonlite.$(EXT)
debug: target/debug/silentdragonlite.$(EXT)
5 years ago
5 years ago
target/release/silentdragonlite.$(EXT): src/lib.rs Cargo.toml
LIBS="" CFLAGS=$(CFLAGS) cargo build --lib --release
5 years ago
5 years ago
target/debug/silentdragonlite.$(EXT): src/lib.rs Cargo.toml
LIBS="" CFLAGS=$(CFLAGS) cargo build --lib
5 years ago
clean:
rm -rf target