aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9e9f04b..872c975 100644
--- a/Makefile
+++ b/Makefile
@@ -53,6 +53,9 @@ PHONY_TARGETS := all realclean buildclean force_cmake export install-export tags
all $(filter-out $(PHONY_TARGETS), $(MAKECMDGOALS)): $(BUILD_DIR)/Makefile
+$(MAKE) -C $(BUILD_DIR) $@
+test: all
+ cd $(BUILD_DIR)/test; ctest --verbose
+
realclean:
rm -rf $(BUILD_DIR_BASE)