summaryrefslogtreecommitdiff
path: root/util/intelmetool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/intelmetool/Makefile')
-rw-r--r--util/intelmetool/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/intelmetool/Makefile b/util/intelmetool/Makefile
index a97f380d60..375118576a 100644
--- a/util/intelmetool/Makefile
+++ b/util/intelmetool/Makefile
@@ -2,10 +2,12 @@
PROGRAM = intelmetool
+TOP ?= $(abspath ../..)
CC ?= gcc
INSTALL ?= /usr/bin/env install
PREFIX ?= /usr/local
-CFLAGS ?= -O0 -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function
+CFLAGS ?= -O0 -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function \
+ -I $(TOP)/src/commonlib/bsd/include
LDFLAGS += -lpci -lz
OBJS = intelmetool.o me.o me_status.o mmap.o rcba.o msr.o