X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pintos-anon;a=blobdiff_plain;f=Makefile;h=fbc8f4ec8e372c5a224ad1698a03a625bbeeb271;hp=d1eab013e20772790f13a8fbd53e001e07c7a4fe;hb=21848a29ff6f6d52751bd91463be03b790f6e3e5;hpb=94e2e63b24a901da641f5c68cf46ce00681f5dd1 diff --git a/Makefile b/Makefile index d1eab01..fbc8f4e 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,13 @@ -SUBDIRS = src grading doc tests +CLEAN_SUBDIRS = src doc tests all:: - @echo "This makefile has only 'clean' targets." + @echo "This makefile has only 'clean' and 'check' targets." clean:: - for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done + for d in $(CLEAN_SUBDIRS); do $(MAKE) -C $$d $@; done distclean:: clean find . -name '*~' -exec rm '{}' \; check:: - make -C tests $@ + $(MAKE) -C tests $@