Merge pull request #2245 from liubin/2244-update-makefile-of-agent-ctl

agent-ctl: Use a common Makefile style like other components
This commit is contained in:
Bin Liu
2021-07-19 17:06:40 +08:00
committed by GitHub

View File

@@ -3,10 +3,12 @@
# SPDX-License-Identifier: Apache-2.0
#
include ../../utils.mk
default: build
build:
RUSTFLAGS="--deny warnings" cargo build -v
@RUSTFLAGS="$(EXTRA_RUSTFLAGS) --deny warnings" cargo build --target $(TRIPLE) --$(BUILD_TYPE)
clean:
cargo clean