Make a top-level make build everything in order

This commit is contained in:
TuxSH
2018-05-15 01:30:56 +02:00
parent 8bf4cd1908
commit d9c2a54464
3 changed files with 22 additions and 58 deletions

13
stratosphere/Makefile Normal file
View File

@@ -0,0 +1,13 @@
KIPS := boot boot2 loader pm sm
SUBFOLDERS := libstratosphere $(KIPS)
TOPTARGETS := all clean
$(TOPTARGETS): $(SUBFOLDERS)
$(SUBFOLDERS):
$(MAKE) -C $@ $(MAKECMDGOALS)
$(KIPS): libstratosphere
.PHONY: $(TOPTARGETS) $(SUBFOLDERS)