mirror of
https://github.com/Maschell/libutils.git
synced 2024-11-24 04:59:15 +01:00
Activate logging for the lib itself (function patching)
This commit is contained in:
parent
218a430a4a
commit
7db739c0b1
7
Makefile
7
Makefile
@ -1,3 +1,5 @@
|
||||
DO_LOGGING := 1
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
.SUFFIXES:
|
||||
#---------------------------------------------------------------------------------
|
||||
@ -33,6 +35,11 @@ LIB := lib
|
||||
CFLAGS = -g -Os -Wall -D__wiiu__ -D_GNU_SOURCE $(MACHDEP) $(INCLUDE)
|
||||
CXXFLAGS = $(CFLAGS)
|
||||
|
||||
ifeq ($(DO_LOGGING), 1)
|
||||
CFLAGS += -D__LOGGING__
|
||||
CXXFLAGS += -D__LOGGING__
|
||||
endif
|
||||
|
||||
ASFLAGS := -mregnames
|
||||
|
||||
export WIIUBIN := $(LIB)/libutils.a
|
||||
|
Loading…
Reference in New Issue
Block a user