Fix makefile again :v)

This commit is contained in:
Huntereb 2019-11-30 12:07:34 -05:00
parent 985e682d9a
commit c1c864ea5a

View File

@ -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