diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-10-31 14:48:11 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-10-31 14:48:11 +0100 |
commit | 5b99569c2c566935c7e18112346d8bfa549de294 (patch) | |
tree | 6650435f1ff4a0c5639d32bf1077c00def28cdd9 /Makefile | |
parent | add links to reports to DEVELOPMENT.md (diff) | |
download | cimple-5b99569c2c566935c7e18112346d8bfa549de294.tar.gz cimple-5b99569c2c566935c7e18112346d8bfa549de294.zip |
Makefile: align assignments
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 25 |
1 files changed, 13 insertions, 12 deletions
@@ -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 |