mirror of
https://github.com/libretro/RetroArch
synced 2024-12-28 18:31:05 +00:00
libnx: make clean removes *.d files
This commit is contained in:
parent
ca29032e1b
commit
678de3a122
@ -222,7 +222,8 @@ ifneq ($(ROMFS),)
|
|||||||
export NROFLAGS += --romfsdir=$(CURDIR)/$(ROMFS)
|
export NROFLAGS += --romfsdir=$(CURDIR)/$(ROMFS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
DEPENDS := $(OFILES:.o=.d)
|
DEPENDS_TMP := $(OFILES:.o=.d)
|
||||||
|
DEPENDS := $(filter-out libretro_libnx.a,$(DEPENDS_TMP))
|
||||||
|
|
||||||
.PHONY: clean all
|
.PHONY: clean all
|
||||||
|
|
||||||
@ -244,7 +245,7 @@ endif
|
|||||||
$(OUTPUT).elf : $(OBJ)
|
$(OUTPUT).elf : $(OBJ)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(OBJ) $(OUTPUT).pfs0 $(OUTPUT).nro $(OUTPUT).elf
|
rm -f $(DEPENDS) $(OBJ) $(OUTPUT).pfs0 $(OUTPUT).nro $(OUTPUT).elf
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# you need a rule like this for each extension you use as binary data
|
# you need a rule like this for each extension you use as binary data
|
||||||
|
Loading…
Reference in New Issue
Block a user