+SUBDIRS = threads userprog vm filesys
+
all::
- @echo "Run 'make' in the threads, userprog, filesys, or vm directory."
+ @echo "Run 'make' in subdirectories $(SUBDIRS)."
@echo "This top-level make has only 'clean' targets."
clean::
- for d in threads; do $(MAKE) -C $$d $@; done
+ for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
distclean::
$(MAKE) clean