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
2019-03-15 23:03:20 +01:00

18 lines
358 B
Makefile

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