boring2/Makefile

14 lines
234 B
Makefile

RUSTPKG ?= rustpkg
RUSTC ?= rustc
RUST_FLAGS ?= -Z debug-info -O
all:
$(RUSTPKG) $(RUST_FLAGS) install crypto
test:
$(RUSTC) $(RUST_FLAGS) --test src/crypto/lib.rs
./src/crypto/lib
clean:
rm -rf bin/ lib/ build/ src/crypto/lib