mirror of
https://github.com/wiiu-env/WUHBUtilsModule.git
synced 2024-11-25 12:56:53 +01:00
Control verbose logging via buildflags
This commit is contained in:
parent
8f4713fd3a
commit
c15975c827
5
Makefile
5
Makefile
@ -44,6 +44,11 @@ CXXFLAGS += -DDEBUG -g
|
||||
CFLAGS += -DDEBUG -g
|
||||
endif
|
||||
|
||||
ifeq ($(DEBUG),VERBOSE)
|
||||
CXXFLAGS += -DDEBUG -DVERBOSE_DEBUG -g
|
||||
CFLAGS += -DDEBUG -DVERBOSE_DEBUG -g
|
||||
endif
|
||||
|
||||
LIBS := -lwums -lwut -lromfs -lz
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
|
@ -11,8 +11,6 @@ extern "C" {
|
||||
#define __FILENAME_X__ (strrchr(__FILE__, '\\') ? strrchr(__FILE__, '\\') + 1 : __FILE__)
|
||||
#define __FILENAME__ (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILENAME_X__)
|
||||
|
||||
// #define VERBOSE_DEBUG
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
#ifdef VERBOSE_DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user