X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2FMakefile;h=90c36af421eaa8af9e1ba016920c02552dfcca4a;hb=98b92b40dcb0b3114fbb6a48f9a56bee3588b4a9;hp=9242a7a1ce6757bb9dffc202389c3551c2da00a3;hpb=361c7416e6dad0124adef553993c72511d248933;p=pintos-anon diff --git a/src/Makefile b/src/Makefile index 9242a7a..90c36af 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,12 +1,18 @@ -SUBDIRS = threads filesys +SUBDIRS = threads userprog vm filesys all:: @echo "Run 'make' in subdirectories $(SUBDIRS)." @echo "This top-level make has only 'clean' targets." clean:: - for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done + for d in $(SUBDIRS) tests; do $(MAKE) -C $$d $@; done -distclean:: - $(MAKE) clean +distclean:: clean find . -name '*~' -exec rm '{}' \; + +TAGS:: + etags --members *.[chS] `find $(SUBDIRS) -name \*.[chS]` + +tags:: + ctags -T *.[chS] `find . -name \*.[chS]` +