mirror of
https://github.com/Huntereb/Awoo-Installer
synced 2025-02-16 19:58:23 +00:00
Add debug flags back to makefile, but commented
This commit is contained in:
parent
28fcf2462e
commit
bfad845ecc
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
@ -55,7 +55,7 @@ ARCH := -march=armv8-a+crc+crypto -mtune=cortex-a57 -mtp=soft -fPIE
|
|||
CFLAGS := -g -Wall -O2 -ffunction-sections \
|
||||
$(ARCH) $(DEFINES)
|
||||
|
||||
CFLAGS += $(INCLUDE) -D__SWITCH__ -Wall
|
||||
CFLAGS += $(INCLUDE) -D__SWITCH__ -Wall #-D__DEBUG__ -DNXLINK_DEBUG
|
||||
|
||||
CXXFLAGS := $(CFLAGS) -fno-rtti -std=gnu++17 -Wall
|
||||
|
||||
|
@ -167,17 +167,17 @@ all: $(BUILD)
|
|||
$(BUILD):
|
||||
@[ -d $@ ] || mkdir -p $@
|
||||
#comment this out if you are hacking on the code or compilation will take for ever
|
||||
# $(MAKE) --no-print-directory -C include/Plutonium -f Makefile lib-switch
|
||||
$(MAKE) --no-print-directory -C include/Plutonium -f Makefile lib-switch
|
||||
@$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
clean:
|
||||
@echo clean ...
|
||||
ifeq ($(strip $(APP_JSON)),)
|
||||
# @$(MAKE) --no-print-directory -C include/Plutonium/Plutonium -f Makefile clean
|
||||
@$(MAKE) --no-print-directory -C include/Plutonium/Plutonium -f Makefile clean
|
||||
@rm -fr $(BUILD) $(TARGET).nro $(TARGET).nacp $(TARGET).elf
|
||||
else
|
||||
# @$(MAKE) --no-print-directory -C include/Plutonium/Plutonium -f Makefile clean
|
||||
@$(MAKE) --no-print-directory -C include/Plutonium/Plutonium -f Makefile clean
|
||||
@rm -fr $(BUILD) $(TARGET).nsp $(TARGET).nso $(TARGET).npdm $(TARGET).elf
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue