mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-15 17:50:49 +00:00
0440c8eabc
This makes the build more deterministic. Previously, nfd just blindly took the tip revision from intel-cmt-cat master branch which could brake the build without any changes in nfd itself.
14 lines
390 B
Makefile
14 lines
390 B
Makefile
CC=gcc
|
|
LIBDIR=/usr/local/lib
|
|
INCDIR=../intel-cmt-cat/lib/
|
|
|
|
LDFLAGS=-L$(LIBDIR)
|
|
LDLIBS=-lpqos
|
|
CFLAGS=-I$(INCDIR)
|
|
|
|
default:
|
|
$(MAKE) all
|
|
all:
|
|
$(CC) $(CFLAGS) -o mon-discovery monitoring-discovery.c $(LDFLAGS) $(LDLIBS)
|
|
$(CC) $(CFLAGS) -o l3-alloc-discovery l3-allocation-discovery.c $(LDFLAGS) $(LDLIBS)
|
|
$(CC) $(CFLAGS) -o l2-alloc-discovery l2-allocation-discovery.c $(LDFLAGS) $(LDLIBS)
|