1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-26 22:02:15 +00:00
Atmosphere/mesosphere/Makefile

22 lines
401 B
Makefile
Raw Normal View History

2020-01-24 02:13:32 +00:00
TARGETS := kernel kernel_ldr
CLEAN_TARGETS := $(foreach target,$(TARGETS),$(target)-clean)
SUBFOLDERS := $(MODULES)
2020-01-24 02:13:32 +00:00
all: mesosphere.bin
2020-01-24 02:13:32 +00:00
clean: $(CLEAN_TARGETS)
@rm -f mesosphere.bin
2020-01-24 02:13:32 +00:00
mesosphere.bin: $(TARGETS)
@python build_mesosphere.py
@echo "Built mesosphere.bin..."
2020-01-24 02:13:32 +00:00
$(TARGETS):
$(MAKE) -C $@
$(CLEAN_TARGETS):
$(MAKE) -C $(@:-clean=) clean
.PHONY: all clean $(TARGETS) $(CLEAN_TARGETS)