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:
Gabriela Cervantes 2023-06-26 16:31:55 +00:00
parent ce8e3cc091
commit 2fac2b72fe

View 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