mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
(libretro-db) Makefile: add a DEBUG build option
This commit is contained in:
parent
3f66270fcb
commit
964f0f7926
1 changed files with 7 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue