1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Added relwithdebug build target for unix build of profiler

This commit is contained in:
Robert Osfield 2023-12-15 17:09:28 +00:00
parent 1557a9ac52
commit 94c57fa447
2 changed files with 17 additions and 0 deletions

View File

@ -10,6 +10,9 @@ debug:
release:
@$(MAKE) -f release.mk all
relwithdebug:
@$(MAKE) -f relwithdebug.mk all
clean:
@$(MAKE) -f build.mk clean

View File

@ -0,0 +1,14 @@
CFLAGS := -O3 -g
ifndef TRACY_NO_LTO
CFLAGS += -flto
endif
DEFINES := -DNDEBUG
BUILD := release-with-debug
include ../../../common/unix-debug.mk
ifeq ($(LEGACY),1)
include legacy.mk
else
include build.mk
endif