imag/Makefile

19 lines
255 B
Makefile
Raw Normal View History

2016-06-04 11:58:09 +00:00
toml = $@/Cargo.toml
bin = $@/target/debug/$@
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/
prep:
mkdir -p out/
clean:
rm -rf out/