mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-12 10:25:18 +00:00
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>
20 lines
358 B
Makefile
20 lines
358 B
Makefile
# 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
|