X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2FMakefile;h=c781a028d9b97b89e2bd178b7f66b5d7c219e17f;hb=950460691e3c962ef35c9aaea2d950e7a7e567ea;hp=d6d325516d88f40805af8eb05aa190e4b194d62e;hpb=c2fdbe98af66ad0870d2e5466f539d655a8eeff7;p=pintos-anon diff --git a/src/Makefile b/src/Makefile index d6d3255..c781a02 100644 --- a/src/Makefile +++ b/src/Makefile @@ -5,15 +5,16 @@ all:: @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_SOURCES = `find \( -name tests -o -name build \) -prune -o -name \*.[chS] -print` + TAGS:: - etags --members `find . -name \*.[chS]` + etags --members $(TAGS_SOURCES) tags:: - ctags -T `find . -name \*.[chS]` + ctags -T --no-warn $(TAGS_SOURCES)