mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-17 05:11:01 +00:00
22 lines
401 B
Makefile
22 lines
401 B
Makefile
TARGETS := kernel kernel_ldr
|
|
CLEAN_TARGETS := $(foreach target,$(TARGETS),$(target)-clean)
|
|
|
|
SUBFOLDERS := $(MODULES)
|
|
|
|
all: mesosphere.bin
|
|
|
|
clean: $(CLEAN_TARGETS)
|
|
@rm -f mesosphere.bin
|
|
|
|
mesosphere.bin: $(TARGETS)
|
|
@python build_mesosphere.py
|
|
@echo "Built mesosphere.bin..."
|
|
|
|
$(TARGETS):
|
|
$(MAKE) -C $@
|
|
|
|
$(CLEAN_TARGETS):
|
|
$(MAKE) -C $(@:-clean=) clean
|
|
|
|
.PHONY: all clean $(TARGETS) $(CLEAN_TARGETS)
|