summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 7e587fb990826a20450a9f1e8237d45e6d8dbe4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
toml = $@/Cargo.toml
bin = $@/target/debug/$@

default: all

.PHONY: clean

all: imag-counter imag-link imag-notes imag-store imag-tag imag-view

imag-%: prep
	cargo build --manifest-path $(toml)
	cp $(bin) out/

prep:
	mkdir -p out/

clean:
	rm -rf out/