what2watch/Makefile

23 lines
358 B
Makefile
Raw Permalink Normal View History

.PHONY: run
run: libjulid.so
cargo run --release
.PHONY: init
init:
git submodule init && git submodule update
julid: init
cd julid && \
cargo build --release --no-default-features -F plugin && \
cp target/release/libjulid.so ../
libjulid.so: julid
.PHONY: build
build: libjulid.so
cargo build --release
.PHONY: test
test: libjulid.so
cargo test