# Some make programs use the last target for the $@ default; put the other
# targets separately to always let $@ expand to "first" by default.
-all install uninstall tools config configure reconfig proto depend lint tags types test scripttests unittests testclean clean distclean:
+all install uninstall tools config configure reconfig proto depend lint tags types test scripttests test_libvterm unittests testclean clean distclean:
@if test ! -f src/auto/config.mk; then \
cp src/config.mk.dist src/auto/config.mk; \
fi
@echo "If there are problems, cd to the src directory and run make there"
cd src && $(MAKE) $@
+test: all
+ cd src && $(MAKE) test
+ cd runtime/indent && $(MAKE) clean && $(MAKE) test
+
#########################################################################
# 2. Creating the various distribution files.