aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-10-31 14:48:11 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-10-31 14:48:11 +0100
commit5b99569c2c566935c7e18112346d8bfa549de294 (patch)
tree6650435f1ff4a0c5639d32bf1077c00def28cdd9 /Makefile
parentadd links to reports to DEVELOPMENT.md (diff)
downloadcimple-5b99569c2c566935c7e18112346d8bfa549de294.tar.gz
cimple-5b99569c2c566935c7e18112346d8bfa549de294.zip
Makefile: align assignments
Diffstat (limited to '')
-rw-r--r--Makefile25
1 files changed, 13 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 3ce4244..cb27efa 100644
--- a/Makefile
+++ b/Makefile
@@ -1,19 +1,20 @@
include prelude.mk
-src_dir := $(abspath .)
-build_dir := $(src_dir)/build
-cmake_dir := $(build_dir)/cmake
+src_dir := $(abspath .)
+build_dir := $(src_dir)/build
+cmake_dir := $(build_dir)/cmake
install_dir := $(build_dir)/install
-test_report_dir := $(build_dir)/test_report
-coverage_dir := $(build_dir)/coverage
+
+test_report_dir := $(build_dir)/test_report
+coverage_dir := $(build_dir)/coverage
flame_graphs_dir := $(build_dir)/flame_graphs
-COMPILER ?= clang
-CONFIGURATION ?= Debug
-DEFAULT_HOST ?= 127.0.0.1
-DEFAULT_PORT ?= 5556
+COMPILER ?= clang
+CONFIGURATION ?= Debug
+DEFAULT_HOST ?= 127.0.0.1
+DEFAULT_PORT ?= 5556
INSTALL_PREFIX ?= $(install_dir)
-COVERAGE ?=
+COVERAGE ?=
$(eval $(call noexpand,COMPILER))
$(eval $(call noexpand,CONFIGURATION))
@@ -98,9 +99,9 @@ test/docker: test/sanity
# Force a rebuild for a coverage report, since it depends on GCC debug data.
.PHONY: coverage
-coverage: COMPILER := gcc
+coverage: COMPILER := gcc
coverage: CONFIGURATION := Debug
-coverage: COVERAGE := 1
+coverage: COVERAGE := 1
coverage: clean build test
@echo -----------------------------------------------------------------
@echo Generating code coverage report