mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
14 lines
427 B
Makefile
14 lines
427 B
Makefile
|
|
LIBFORMAT_PARSER = debug/liblibformat_parser.a
|
||
|
|
|
||
|
|
all-local: $(LIBFORMAT_PARSER)
|
||
|
|
|
||
|
|
# TODO: Improve `cargo` invocation with host specific flags, possibly creating a $(CARGO) variable?
|
||
|
|
$(LIBFORMAT_PARSER): $(srcdir)/Cargo.toml $(srcdir)/src/*.rs
|
||
|
|
cargo \
|
||
|
|
--config $(srcdir)/.cargo/config \
|
||
|
|
build \
|
||
|
|
--offline \
|
||
|
|
--target-dir . \
|
||
|
|
--manifest-path $(srcdir)/Cargo.toml \
|
||
|
|
# FIXME: Not always '--release', right?
|