tracy/profiler/build/unix/build.mk

23 lines
704 B
Makefile
Raw Normal View History

CFLAGS +=
2018-05-07 23:21:19 +00:00
CXXFLAGS := $(CFLAGS) -std=c++17
DEFINES += -DIMGUI_IMPL_OPENGL_LOADER_GL3W
INCLUDES := $(shell pkg-config --cflags glfw3 freetype2 capstone) -I../../../imgui -I../../libs/gl3w
LIBS := $(shell pkg-config --libs glfw3 freetype2 capstone) -lpthread -ldl
PROJECT := Tracy
IMAGE := $(PROJECT)-$(BUILD)
2017-09-15 20:45:23 +00:00
2017-10-01 00:37:52 +00:00
FILTER := ../../../nfd/nfd_win.cpp
include ../../../common/src-from-vcxproj.mk
2018-07-13 16:01:36 +00:00
UNAME := $(shell uname -s)
ifeq ($(UNAME),Darwin)
SRC3 += ../../../nfd/nfd_cocoa.m
LIBS += -framework CoreFoundation -framework AppKit
else
SRC2 += ../../../nfd/nfd_gtk.c
INCLUDES += $(shell pkg-config --cflags gtk+-2.0)
LIBS += $(shell pkg-config --libs gtk+-2.0) -lGL
endif
2017-09-15 20:45:23 +00:00
include ../../../common/unix.mk