mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
use pkg-config to get libcapstone config
This commit is contained in:
parent
a887d558f1
commit
94e7da11ec
@ -1,9 +1,8 @@
|
|||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
CXXFLAGS := $(CFLAGS) -std=gnu++17
|
CXXFLAGS := $(CFLAGS) -std=gnu++17
|
||||||
DEFINES += -DTRACY_NO_STATISTICS
|
DEFINES += -DTRACY_NO_STATISTICS
|
||||||
INCLUDES := -I../../../capstone/include/capstone
|
INCLUDES := $(shell pkg-config --cflags capstone)
|
||||||
LIBS += -lcapstone -lpthread
|
LIBS += $(shell pkg-config --libs capstone) -lpthread
|
||||||
LDFLAGS := -L../../../capstone
|
|
||||||
PROJECT := tracy-edit
|
PROJECT := tracy-edit
|
||||||
IMAGE := $(PROJECT)-$(BUILD)
|
IMAGE := $(PROJECT)-$(BUILD)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user