tracy/capture/build/unix/build.mk
Bartosz Taudul 9892407ff0 Use system getopt in capture utility on unix.
This fixes header clash between getopt.h and unistd.h (required for unlink),
which prevented LTO on macos.
2021-01-27 00:32:38 +01:00

13 lines
343 B
Makefile

CFLAGS +=
CXXFLAGS := $(CFLAGS) -std=gnu++17
DEFINES += -DTRACY_NO_STATISTICS
INCLUDES := $(shell pkg-config --cflags capstone)
LIBS += $(shell pkg-config --libs capstone) -lpthread
PROJECT := capture
IMAGE := $(PROJECT)-$(BUILD)
FILTER := ../../../getopt/getopt.c
include ../../../common/src-from-vcxproj.mk
include ../../../common/unix.mk