diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-02 12:34:37 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-02 12:34:37 +0100 |
commit | d36e771bc80b4ef2035cd08a451f7083d54d15f9 (patch) | |
tree | 7ffb17df1f589baebc0adf33456497800c9640b2 /Makefile | |
parent | cmake: fix duplicate target names (diff) | |
download | winapi-common-d36e771bc80b4ef2035cd08a451f7083d54d15f9.tar.gz winapi-common-d36e771bc80b4ef2035cd08a451f7083d54d15f9.zip |
Makefile: wrap long commands
Diffstat (limited to '')
-rw-r--r-- | Makefile | 23 |
1 files changed, 20 insertions, 3 deletions
@@ -54,7 +54,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 @@ -62,7 +66,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 @@ -70,7 +79,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 |