makefile - Parallel building with gnumake and prerequisites -


My first question (yay!) Is about the genetic and parallel builds. Here is a quick example file:

 . PHONY: tool_1 tool_2 tool_3 tool_4 all tools all: | Tool Tools: | Tool_2 Device_3 Tool_4 Tool_1: #Options for Device 1 Device: | Order for Tool_1 # Tools2 tool: | Instructions for Tool_1 # Tool3 Tool: | Command4 for Tool_1 # Tools  

If I do make-j on this guy, then to ensure that I have the right here that < The command for tool> code_1 is executed once, and tool_ [234]

before create

< create-j cause tool_1 to be pre-generated, Then the tool_ [234] is to be created in parallel, but without executing the command for it, tool_ 1 Three times I hope that it has no meaning. Thanks for any suggestions or ideas!

Make-Jay look like you do in your question This dependency does not do many times.

What is that type of pipe ( | ) in your dependency list?


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -