From: Ben Pfaff Date: Sun, 2 Jan 2005 01:37:40 +0000 (+0000) Subject: Add makefiles for cleaning grades, top level. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c2b347fd2b3b1d9f78cc2a40160dfb2a23a9bd9;p=pintos-anon Add makefiles for cleaning grades, top level. --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..de9eb1a --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +SUBDIRS = src grading doc + +all:: + @echo "This makefile has only 'clean' targets." + +clean:: + for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done + +distclean:: clean + find . -name '*~' -exec rm '{}' \; diff --git a/grading/Makefile b/grading/Makefile new file mode 100644 index 0000000..4b6ea0b --- /dev/null +++ b/grading/Makefile @@ -0,0 +1,11 @@ +SUBDIRS = userprog vm filesys + +all:: + @echo "Run 'make' in subdirectories $(SUBDIRS)." + @echo "This makefile has only 'clean' targets." + +clean:: + for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done + +distclean:: clean + find . -name '*~' -exec rm '{}' \;