forked from vitrine/wmaker
This is a bit of a red herring, since WMTree is only used in wmmenugen, which I don't think I've ever directly used. See notes at the top of tree.rs for more musings on whether this should be in wutil-rs at all.
30 lines
432 B
Makefile
30 lines
432 B
Makefile
AUTOMAKE_OPTIONS =
|
|
|
|
RUST_SOURCES = \
|
|
src/array.rs \
|
|
src/data.rs \
|
|
src/defines.c \
|
|
src/defines.rs \
|
|
src/find_file.rs \
|
|
src/hash_table.rs \
|
|
src/lib.rs \
|
|
src/memory.rs \
|
|
src/prop_list.rs \
|
|
src/string.rs
|
|
src/tree.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
|