Skip to content

Commit 57eb0c2

Browse files
authored
Specify behavior in absence of target
Added similarities between make and parmake.
1 parent 20bd6f9 commit 57eb0c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

_docs/parallel_make.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,8 @@ You can use the real GNU `make` to check your implementation. However, it differ
314314
* `make` kills the program immediately after a rule fails. Run `make` with the flag `-k` (for keep going) to continue satisfying rules that aren't doomed to fail.
315315
* `make` requires every dependency to either be explicitly declared in the Makefile or present as a file on the disk. To get `parmake` and `make` to work the same way, define every rule explicitly.
316316
* `make` spits out error messages when commands fail, even when the flag `-k` is used. `parmake` will not do this.
317-
317+
And here are some important similarities you should keep in mind:
318+
* When no explicit target is specified to `make`, it will assume the topmost rule in the `Makefile` is the single target rule; `parmake` does the same (see the following example).
318319

319320
Example "good" Makefile:
320321

0 commit comments

Comments
 (0)