Add self-test.
[pintos-anon] / Makefile
index de9eb1a4fa2765689f8e6e5b5d4c204acdaefa2f..d1eab013e20772790f13a8fbd53e001e07c7a4fe 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-SUBDIRS = src grading doc
+SUBDIRS = src grading doc tests
 
 all::
        @echo "This makefile has only 'clean' targets."
@@ -8,3 +8,6 @@ clean::
 
 distclean:: clean
        find . -name '*~' -exec rm '{}' \;
+
+check::
+       make -C tests $@