mirror of
https://github.com/autc04/Retro68.git
synced 2026-02-01 04:17:30 +00:00
11 lines
337 B
Makefile
11 lines
337 B
Makefile
LIBFORMAT_PARSER = debug/liblibformat_parser.a
|
|
|
|
all-local: $(LIBFORMAT_PARSER)
|
|
|
|
RUST_BUILD_DIR=$(PWD)
|
|
|
|
# TODO: Improve `cargo` invocation with host specific flags, possibly creating a $(CARGO) variable?
|
|
$(LIBFORMAT_PARSER): $(srcdir)/Cargo.toml $(srcdir)/src/*.rs
|
|
cd $(srcdir) && \
|
|
cargo build --offline --target-dir $(RUST_BUILD_DIR)
|