diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-13 14:33:49 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-13 14:33:55 +0200 |
commit | 16cfe4827f4e2c9796a4b283077c5522a04a4da3 (patch) | |
tree | 1a72e35f03af2de1d45408cbb3cb4ec8dd4ba663 /Makefile | |
parent | ctest: don't use the -C parameter (diff) | |
download | cimple-16cfe4827f4e2c9796a4b283077c5522a04a4da3.tar.gz cimple-16cfe4827f4e2c9796a4b283077c5522a04a4da3.zip |
rename Makefile parameters & update README
Diffstat (limited to '')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -25,13 +25,13 @@ build_dir := $(src_dir)/build cmake_dir := $(build_dir)/cmake install_dir := $(build_dir)/install -C_COMPILER ?= clang -BUILD_TYPE ?= Debug +COMPILER ?= clang +CONFIGURATION ?= Debug DEFAULT_HOST ?= 127.0.0.1 INSTALL_PREFIX ?= $(install_dir) -$(eval $(call noexpand,C_COMPILER)) -$(eval $(call noexpand,BUILD_TYPE)) +$(eval $(call noexpand,COMPILER)) +$(eval $(call noexpand,CONFIGURATION)) $(eval $(call noexpand,DEFAULT_HOST)) $(eval $(call noexpand,INSTALL_PREFIX)) @@ -47,8 +47,8 @@ build: mkdir -p -- '$(call escape,$(cmake_dir))' cmake \ -G 'Unix Makefiles' \ - -D 'CMAKE_C_COMPILER=$(call escape,$(C_COMPILER))' \ - -D 'CMAKE_BUILD_TYPE=$(call escape,$(BUILD_TYPE))' \ + -D 'CMAKE_C_COMPILER=$(call escape,$(COMPILER))' \ + -D 'CMAKE_BUILD_TYPE=$(call escape,$(CONFIGURATION))' \ -D 'CMAKE_INSTALL_PREFIX=$(call escape,$(INSTALL_PREFIX))' \ -D 'DEFAULT_HOST=$(call escape,$(DEFAULT_HOST))' \ -S '$(call escape,$(src_dir))' \ |