mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
14 lines
450 B
Makefile
14 lines
450 B
Makefile
CC=gcc
|
|
LIBDIR=/usr/local/lib
|
|
INCDIR=/go/src/github.com/kubernetes-incubator/node-feature-discovery/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)
|