mirror of
https://github.com/libretro/RetroArch
synced 2025-01-17 19:14:56 +00:00
(libretro-db) Makefile: add a DEBUG build option
This commit is contained in:
parent
3f66270fcb
commit
964f0f7926
@ -1,9 +1,15 @@
|
||||
CFLAGS = -g -O2 -Wall
|
||||
DEBUG = 0
|
||||
LIBRETRO_COMMON_DIR := ../libretro-common
|
||||
INCFLAGS = -I. -I$(LIBRETRO_COMMON_DIR)/include
|
||||
|
||||
TARGETS = rmsgpack_test libretrodb_tool plain_converter lua_converter c_converter
|
||||
|
||||
ifeq ($(DEBUG), 1)
|
||||
CFLAGS = -g -O0 -Wall
|
||||
else
|
||||
CFLAGS = -g -O2 -Wall -DNDEBUG
|
||||
endif
|
||||
|
||||
LUA_CONVERTER_C = \
|
||||
rmsgpack.c \
|
||||
rmsgpack_dom.c \
|
||||
|
Loading…
Reference in New Issue
Block a user