Generate libelfin cflags with pkg-config

This commit is contained in:
Charlie Curtsinger 2019-10-15 08:47:54 -05:00
parent 06fa6d986b
commit 9e2a26a632

View File

@ -1,7 +1,8 @@
ROOT := ..
TARGETS := libcoz.so
LIBS := -ldl -lrt -lpthread $(shell pkg-config --libs libelf++ libdwarf++)
CXXFLAGS := --std=c++0x -g -O2 -fPIC -I$(ROOT)/include -I.
CXXFLAGS := --std=c++0x -g -O2 -fPIC -I$(ROOT)/include -I. \
$(shell pkg-config --cflags libelf++ libdwarf++)
include $(ROOT)/common.mk