boring2/Makefile

16 lines
233 B
Makefile

RUSTPKG ?= rustpkg
RUSTC ?= rustc
RUST_FLAGS ?= -Z debug-info -O
all:
$(RUSTPKG) $(RUST_FLAGS) install
test:
$(RUSTC) $(RUST_FLAGS) --test lib.rs
./rust-openssl
.PHONY: test
clean:
rm -rf .rust rust-openssl rust-openssl.dSYM