23 lines
358 B
Makefile
23 lines
358 B
Makefile
|
.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
|