diff options
| author | Erick Tryzelaar <[email protected]> | 2013-12-18 08:51:10 -0800 |
|---|---|---|
| committer | Erick Tryzelaar <[email protected]> | 2013-12-18 08:51:10 -0800 |
| commit | a9ce2a36d54ac08608d689a5f0ec441f74e56d61 (patch) | |
| tree | 813ceb833817cfac21a1cc920446f8a7927acf76 /Makefile | |
| parent | Update to rust 0.9x-pre (diff) | |
| download | rust-openssl-a9ce2a36d54ac08608d689a5f0ec441f74e56d61.tar.xz rust-openssl-a9ce2a36d54ac08608d689a5f0ec441f74e56d61.zip | |
Switch over to rustpkg
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -1,9 +1,13 @@ +RUSTPKG ?= rustpkg +RUSTC ?= rustc +RUST_FLAGS ?= -Z debug-info -O -crypto: $(wildcard *.rs) - rustc crypto.rs - rustc --test crypto.rs +all: + $(RUSTPKG) $(RUST_FLAGS) install crypto + +test: + $(RUSTC) $(RUST_FLAGS) --test src/crypto/lib.rs + ./src/crypto/lib clean: - rm -f crypto libcrypto-*.so - rm -f libcrypto-*.dylib - rm -rf *.dSYM + rm -rf bin/ lib/ build/ src/crypto/lib |