mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 12:21:18 +00:00
20 lines
364 B
Makefile
20 lines
364 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)
|
|
@echo "todo: py script"
|
|
|
|
$(TARGETS):
|
|
$(MAKE) -C $@
|
|
|
|
$(CLEAN_TARGETS):
|
|
$(MAKE) -C $(@:-clean=) clean
|
|
|
|
.PHONY: all clean $(TARGETS) $(CLEAN_TARGETS)
|