Add config option for MarkerAPI to config.mk and integrate it in the build system

This commit is contained in:
Thomas Roehl
2019-03-14 17:11:28 +01:00
parent 3e1fe39dfe
commit e6958c8581
4 changed files with 15 additions and 2 deletions

11
include_LIKWID.mk Normal file
View File

@@ -0,0 +1,11 @@
LIKWID_INC ?= -I/usr/local/include
LIKWID_DEFINES ?= -DLIKWID_PERFMON
LIKWID_LIB ?= -L/usr/local/lib
ifeq ($(strip $(ENABLE_LIKWID)),true)
INCLUDES += ${LIKWID_INC}
DEFINES += -DLIKWID ${LIKWID_DEFINES}
LIBS += -llikwid
LFLAGS += ${LIKWID_LIB}
endif