forked from vitrine/wmaker
This introduces the crate wutil-rs, which is intended to be the destination for migrating the API of WINGs/WINGs/WUtil.h to Rust.
21 lines
275 B
Makefile
21 lines
275 B
Makefile
AUTOMAKE_OPTIONS =
|
|
|
|
RUST_SOURCES = \
|
|
src/lib.rs \
|
|
src/memory.rs
|
|
|
|
RUST_EXTRA = \
|
|
Cargo.lock \
|
|
Cargo.toml
|
|
|
|
target/debug/libwutil_rs.a: $(RUST_SOURCES) $(RUST_EXTRA)
|
|
$(CARGO) build
|
|
|
|
check-local:
|
|
$(CARGO) test
|
|
|
|
clean-local:
|
|
$(CARGO) clean
|
|
|
|
all: target/debug/libwutil_rs.a
|