# Default target .DEFAULT_GOAL = all echo=$(shell which echo) -e # Paths to kernel and userspace for StuBSmI # (Note: also defined as relative paths in {user,kernel}/Makefile!) INITRD = user/$(BUILDDIR)/initrd.img KERNEL = kernel/$(BUILDDIR)/system KERNEL64 = kernel/$(BUILDDIR)/system64 KERNEL_LINK = kernel/$(BUILDDIR)/system ISOFILE = kernel/$(BUILDDIR)/stubs.iso SUBDIRS = kernel SUBDIRS += libsys SUBDIRS += user # Default targets include tools/common.mk all: $(VERBOSE) $(foreach DIR,$(SUBDIRS),$(MAKE) -C $(DIR) && ) true lint:: $(VERBOSE) $(foreach DIR,$(SUBDIRS),$(MAKE) -C $(DIR) lint && ) true tidy:: $(VERBOSE) $(foreach DIR,$(SUBDIRS),$(MAKE) -C $(DIR) tidy && ) true # clean all apps additionally to default clean recipe from common.mk clean:: $(VERBOSE) $(foreach DIR,$(SUBDIRS),$(MAKE) -C $(DIR) clean && ) true