mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Use gtk version of nfd on unix.
This commit is contained in:
parent
777e499f76
commit
72abdcaf8d
@ -1,17 +1,17 @@
|
|||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
CXXFLAGS := $(CFLAGS) -std=c++14
|
CXXFLAGS := $(CFLAGS) -std=c++14
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
INCLUDES := $(shell pkg-config --cflags glfw3) -I../../../imgui -I../../libs/gl3w
|
INCLUDES := $(shell pkg-config --cflags glfw3 gtk+-2.0) -I../../../imgui -I../../libs/gl3w
|
||||||
LIBS := $(shell pkg-config --libs glfw3) -lpthread -ldl -lGL
|
LIBS := $(shell pkg-config --libs glfw3 gtk+-2.0) -lpthread -ldl -lGL
|
||||||
IMAGE := Tracy
|
IMAGE := Tracy
|
||||||
|
|
||||||
FILTER :=
|
FILTER := ../../../nfd/nfd_win.cpp
|
||||||
|
|
||||||
BASE := $(shell egrep 'ClCompile.*cpp"' ../win32/$(IMAGE).vcxproj | sed -e 's/.*\"\(.*\)\".*/\1/' | sed -e 's@\\@/@g')
|
BASE := $(shell egrep 'ClCompile.*cpp"' ../win32/$(IMAGE).vcxproj | sed -e 's/.*\"\(.*\)\".*/\1/' | sed -e 's@\\@/@g')
|
||||||
BASE2 := $(shell egrep 'ClCompile.*c"' ../win32/$(IMAGE).vcxproj | sed -e 's/.*\"\(.*\)\".*/\1/' | sed -e 's@\\@/@g')
|
BASE2 := $(shell egrep 'ClCompile.*c"' ../win32/$(IMAGE).vcxproj | sed -e 's/.*\"\(.*\)\".*/\1/' | sed -e 's@\\@/@g')
|
||||||
|
|
||||||
SRC := $(filter-out $(FILTER),$(BASE))
|
SRC := $(filter-out $(FILTER),$(BASE))
|
||||||
SRC2 := $(filter-out $(FILTER),$(BASE2))
|
SRC2 := $(filter-out $(FILTER),$(BASE2)) ../../../nfd/nfd_gtk.c
|
||||||
|
|
||||||
OBJ := $(SRC:%.cpp=%.o)
|
OBJ := $(SRC:%.cpp=%.o)
|
||||||
OBJ2 := $(SRC2:%.c=%.o)
|
OBJ2 := $(SRC2:%.c=%.o)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user