Skip to content

Conversation

@tleedjarv
Copy link
Contributor

Clean up the clean target.

Reduce repetition. Use a subshell for deletions in each dir to make it
safe regardless if a make implementation runs each separate line in a
rule in one shell or not.

Rewriting the rule like this also makes it portable and runnable in
Windows with the CMD interpreter.
@gdt gdt merged commit 46ad269 into bcpierce00:master Dec 12, 2024
31 checks passed
@tleedjarv tleedjarv deleted the portable-make-2 branch December 13, 2024 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants