mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-07 15:44:20 +01:00
checkmetrics: Add checkmetrics makefile
This PR adds checkmetrics makefile which is used to process the metrics json results files. Fixes #7172 Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
19
tests/metrics/cmd/checkmetrics/Makefile
Normal file
19
tests/metrics/cmd/checkmetrics/Makefile
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# Copyright (c) 2023 Intel Corporation
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
TARGET := checkmetrics
|
||||||
|
PREFIX := /usr
|
||||||
|
BINDIR := $(PREFIX)/bin
|
||||||
|
DESTTARGET := $(BINDIR)/$(TARGET)
|
||||||
|
|
||||||
|
all:
|
||||||
|
go build -ldflags "-X main.sysBaseFile=$(DESTBASE)" -o $(TARGET)
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -D $(TARGET) $(DESTTARGET)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f $(DESTTARGET)
|
||||||
|
|
||||||
|
.PHONY: install clean
|
||||||
Reference in New Issue
Block a user