Files
kata-containers/src/tools/trace-forwarder/Makefile
Liu Jiang 6f8acb94c2 libs: refine Makefile rules
Refine Makefile rules to better support the KATA ci env.

Fixes: #3536

Signed-off-by: Liu Jiang <gerry@linux.alibaba.com>
2022-06-10 18:25:24 +08:00

34 lines
446 B
Makefile

# Copyright (c) 2020-2021 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
include ../../../utils.mk
.DEFAULT_GOAL := default
default: build
build:
@RUSTFLAGS="$(EXTRA_RUSTFLAGS) --deny warnings" cargo build --target $(TRIPLE) --$(BUILD_TYPE)
clean:
cargo clean
vendor:
cargo vendor
test:
@cargo test --all -- --nocapture
install:
check: standard_rust_check
.PHONY: \
build \
check \
clean \
install \
test \
vendor