Debian Codegraph @

libgrust/libformat_parser/Makefile.am

raw
1 LIBFORMAT_PARSER = debug/liblibformat_parser.a
2
3 all-local: $(LIBFORMAT_PARSER)
4
5 RUST_BUILD_DIR=$(PWD)
6
7 # TODO: Improve `cargo` invocation with host specific flags, possibly creating a $(CARGO) variable?
8 $(LIBFORMAT_PARSER): $(srcdir)/Cargo.toml $(srcdir)/src/*.rs
9 cd $(srcdir) && \
10 cargo build --offline --target-dir $(RUST_BUILD_DIR)