mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +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
|
LIBRETRO_COMMON_DIR := ../libretro-common
|
||||||
INCFLAGS = -I. -I$(LIBRETRO_COMMON_DIR)/include
|
INCFLAGS = -I. -I$(LIBRETRO_COMMON_DIR)/include
|
||||||
|
|
||||||
TARGETS = rmsgpack_test libretrodb_tool plain_converter lua_converter c_converter
|
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 = \
|
LUA_CONVERTER_C = \
|
||||||
rmsgpack.c \
|
rmsgpack.c \
|
||||||
rmsgpack_dom.c \
|
rmsgpack_dom.c \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user