Files
SilentDragonXLite/lib/Makefile
DanS 90383b0f43 v1.1.1: Bump version, fix CFLAGS in lib/Makefile, rebuild binaries
- Bump APP_VERSION from 1.1.0 to 1.1.1
- Fix CFLAGS in lib/Makefile: remove quoted empty string that broke
  blake3 cross-compilation
- Rebuild Linux and Windows binaries with IVK change detection fix
- Update SHA-256 hashes in release notes
2026-03-22 10:02:51 -05:00

28 lines
781 B
Makefile

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