mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-28 02:37:11 +00:00
Add install target to rdt-discovery Makefile
This commit is contained in:
parent
d394cf7ab3
commit
1754ae0b65
1 changed files with 14 additions and 0 deletions
|
@ -2,10 +2,20 @@ CC=gcc
|
|||
LIBDIR=/usr/local/lib
|
||||
INCDIR=../intel-cmt-cat/lib/
|
||||
|
||||
PREFIX ?= /usr/local
|
||||
BINDIR ?= $(PREFIX)/bin
|
||||
|
||||
LDFLAGS=-L$(LIBDIR)
|
||||
LDLIBS=-lpqos
|
||||
CFLAGS=-I$(INCDIR)
|
||||
|
||||
BINARIES = mon-discovery \
|
||||
mon-cmt-discovery \
|
||||
mon-mbm-discovery \
|
||||
l3-alloc-discovery \
|
||||
l2-alloc-discovery \
|
||||
mem-bandwidth-alloc-discovery
|
||||
|
||||
default:
|
||||
$(MAKE) all
|
||||
all:
|
||||
|
@ -15,3 +25,7 @@ all:
|
|||
$(CC) $(CFLAGS) -o l3-alloc-discovery l3-allocation-discovery.c $(LDFLAGS) $(LDLIBS)
|
||||
$(CC) $(CFLAGS) -o l2-alloc-discovery l2-allocation-discovery.c $(LDFLAGS) $(LDLIBS)
|
||||
$(CC) $(CFLAGS) -o mem-bandwidth-alloc-discovery mem-bandwidth-allocation-discovery.c $(LDFLAGS) $(LDLIBS)
|
||||
|
||||
install:
|
||||
install -d $(BINDIR)
|
||||
install -t $(BINDIR) $(BINARIES)
|
||||
|
|
Loading…
Add table
Reference in a new issue