Browse Source

Add macos min version

pull/14/head
Aditya Kulkarni 5 years ago
parent
commit
e572b5c062
  1. 6
      lib/Makefile

6
lib/Makefile

@ -1,7 +1,9 @@
ifeq ($(shell uname),Darwin)
EXT := dylib
CFLAGS := "-mmacosx-version-min=10.11"
else
EXT := a
CFLAGS := ""
endif
all: release
@ -15,10 +17,10 @@ release: target/release/zecwalletlite.$(EXT)
debug: target/debug/zecwalletlite.$(EXT)
target/release/zecwalletlite.$(EXT): src/lib.rs Cargo.toml
cargo build --lib --release
CFLAGS=$(CFLAGS) cargo build --lib --release
target/debug/zecwalletlite.$(EXT): src/lib.rs Cargo.toml
cargo build --lib
CFLAGS=$(CFLAGS) cargo build --lib
clean:
rm -rf target
Loading…
Cancel
Save