This repository has been archived on 2022-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
Luma3DS-3GX/sysmodules/Makefile

18 lines
358 B
Makefile
Raw Normal View History

2018-05-23 09:50:19 +02:00
SUBFOLDERS := loader sm pxi rosalina
CXIS := $(foreach dir, $(SUBFOLDERS), $(dir)/$(dir).cxi)
.PHONY: all clean $(SUBFOLDERS)
all: sysmodules.bin
clean:
@$(foreach dir, $(SUBFOLDERS), make -C $(dir) clean &&) true
@rm -rf sysmodules.bin
sysmodules.bin: $(SUBFOLDERS)
@cat $(CXIS) > $@
@echo built... $(notdir $@)
$(SUBFOLDERS):
@$(MAKE) -C $@ all