Trepan-Debuggers / Trepan-Debuggers/remake
Checking correctness for multi-target rules
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 850
- Forks
- 80
- PR merge metrics
- No merged PRs in 30d
Description
Multiple targets can be specified in a single make rule. While they are written only once at such a place, the make software usually expands the specification into several rules with the same recipe so far.
But this does not happen with pattern rules:
…
Pattern rules may have more than one target. Unlike normal rules, this does not act as many different rules with the same prerequisites and recipe. If a pattern rule has multiple targets, make knows that the rule’s recipe is responsible for making all of the targets. The recipe is executed only once to make all the targets.
…
- This technical detail has got important consequences on the handling of dependencies for (parallel) software builds because of multiple output files by special commands.
- How do you think about details from previous development discussions?
Can a variant of the command “remake --targets” help to identify questionable multi-target rules?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the remake --targets command and the linked GNU Make documentation on multiple targets and pattern rules. Compare the behavior described in the linked development discussion and determine whether the command can identify questionable multi-target rules; done would require a settled scope and corresponding implementation or documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system, cli, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100