imag/Makefile

24 lines
361 B
Makefile
Raw Normal View History

2016-06-04 11:58:09 +00:00
toml = $@/Cargo.toml
bin = $@/target/debug/$@
doc-crate-toml=./.imag-documentation/Cargo.toml
default: all
.PHONY: clean
2016-06-04 11:58:09 +00:00
all: imag-counter imag-link imag-notes imag-store imag-tag imag-view
2016-06-04 11:58:09 +00:00
imag-%: prep
cargo build --manifest-path $(toml)
cp $(bin) out/
lib-doc:
cargo build --manifest-path $(doc-crate-toml)
prep:
mkdir -p out/
clean:
rm -rf out/