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-29 00:32:45 +01:00

18 lines
364 B
Makefile

SUBFOLDERS := loader sm pm 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