summaryrefslogtreecommitdiff
path: root/util/inteltool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/inteltool/Makefile')
-rw-r--r--util/inteltool/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/inteltool/Makefile b/util/inteltool/Makefile
index 3850682e5f..c6894c0afd 100644
--- a/util/inteltool/Makefile
+++ b/util/inteltool/Makefile
@@ -33,6 +33,11 @@ OS_ARCH = $(shell uname)
ifeq ($(OS_ARCH), Darwin)
LDFLAGS = -framework DirectIO -lpci -lz
endif
+ifeq ($(OS_ARCH), FreeBSD)
+CFLAGS += -I/usr/local/include
+LDFLAGS += -L/usr/local/lib
+LIBS = -lz
+endif
all: pciutils dep $(PROGRAM)