From 570fcf2221b2e3d3b898731dae8c32244270af98 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 30 Jun 2023 03:20:37 +0200 Subject: Makefile: add some banners --- Makefile | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 769db70..4ab6c72 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,10 @@ clean: .PHONY: build build: - mkdir -p -- '$(call escape,$(cmake_dir))' + @echo ----------------------------------------------------------------- + @echo Building + @echo ----------------------------------------------------------------- + @mkdir -p -- '$(call escape,$(cmake_dir))' cmake \ -G 'Unix Makefiles' \ -D 'CMAKE_C_COMPILER=$(call escape,$(COMPILER))' \ @@ -64,11 +67,19 @@ install: build .PHONY: test test: - cd -- '$(call escape,$(cmake_dir))' && ctest --verbose --exclude-regex python_tests_valgrind + @echo ----------------------------------------------------------------- + @echo Running tests + @echo ----------------------------------------------------------------- + ctest --test-dir '$(call escape,$(cmake_dir))' \ + --verbose --exclude-regex python_tests_valgrind .PHONY: test/valgrind test/valgrind: - cd -- '$(call escape,$(cmake_dir))' && ctest --verbose --tests-regex python_tests_valgrind + @echo ----------------------------------------------------------------- + @echo Running tests w/ Valgrind + @echo ----------------------------------------------------------------- + ctest --test-dir '$(call escape,$(cmake_dir))' \ + --verbose --tests-regex python_tests_valgrind .PHONY: test/all test/all: test test/valgrind -- cgit v1.2.3