forked from vitrine/wmaker
This is another utility that should not be used in any new (Rust) code. (We should prefer Vec or something similar.) This should be removed once dependents are ported to Rust.
23 lines
311 B
Makefile
23 lines
311 B
Makefile
AUTOMAKE_OPTIONS =
|
|
|
|
RUST_SOURCES = \
|
|
src/array.rs \
|
|
src/find_file.rs \
|
|
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
|