aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-01-02 13:05:20 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-02 13:05:20 +0100
commit0ce3033216eec45b9643319ea2efb0affe069ef6 (patch)
tree16692a687da87d1cd27ec5e0d85a66e16b2894cf /Makefile
parentworkflows/ci: add VS 2022 builds (diff)
downloadaes-tools-0ce3033216eec45b9643319ea2efb0affe069ef6.tar.gz
aes-tools-0ce3033216eec45b9643319ea2efb0affe069ef6.zip
Makefile: wrap long commands
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 20 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index fe47f10..9be715b 100644
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,11 @@ clean:
rm -rf -- '$(call escape,$(build_dir))'
$(boost_dir)/:
- cd cmake && python3 -m project.boost.download --cache '$(call escape,$(build_dir))' -- '$(call escape,$(BOOST_VERSION))' '$(call escape,$(boost_dir))'
+ cd cmake && python3 -m project.boost.download \
+ --cache '$(call escape,$(build_dir))' \
+ -- \
+ '$(call escape,$(BOOST_VERSION))' \
+ '$(call escape,$(boost_dir))'
.PHONY: deps
ifdef CI
@@ -65,7 +69,12 @@ deps:
cd cmake && python3 -m project.ci.boost -- $(BOOST_LIBRARIES)
else
deps: $(boost_dir)/
- cd cmake && python3 -m project.boost.build --toolset '$(call escape,$(TOOLSET))' --configuration '$(call escape,$(CONFIGURATION))' -- '$(call escape,$(boost_dir))' $(BOOST_LIBRARIES)
+ cd cmake && python3 -m project.boost.build \
+ --toolset '$(call escape,$(TOOLSET))' \
+ --configuration '$(call escape,$(CONFIGURATION))' \
+ -- \
+ '$(call escape,$(boost_dir))' \
+ $(BOOST_LIBRARIES)
endif
.PHONY: build
@@ -73,7 +82,15 @@ build:
ifdef CI
cd cmake && python3 -m project.ci.cmake --install -- $(CMAKE_FLAGS)
else
- cd cmake && python3 -m project.cmake.build --toolset '$(call escape,$(TOOLSET))' --configuration '$(call escape,$(CONFIGURATION))' --build '$(call escape,$(cmake_dir))' --install '$(call escape,$(DESTDIR))' --boost '$(call escape,$(boost_dir))' -- '$(call escape,$(src_dir))' $(CMAKE_FLAGS)
+ cd cmake && python3 -m project.cmake.build \
+ --toolset '$(call escape,$(TOOLSET))' \
+ --configuration '$(call escape,$(CONFIGURATION))' \
+ --build '$(call escape,$(cmake_dir))' \
+ --install '$(call escape,$(DESTDIR))' \
+ --boost '$(call escape,$(boost_dir))' \
+ -- \
+ '$(call escape,$(src_dir))' \
+ $(CMAKE_FLAGS)
endif
.PHONY: install