Atmosphere/mesosphere/Makefile

21 lines
364 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)
@echo "todo: py script"
2020-01-24 02:13:32 +00:00
$(TARGETS):
$(MAKE) -C $@
$(CLEAN_TARGETS):
$(MAKE) -C $(@:-clean=) clean
.PHONY: all clean $(TARGETS) $(CLEAN_TARGETS)