]> git.proxmox.com Git - wasi-libc.git/commit
Makefile refactoring; NFC (#186)
authorDan Gohman <sunfish@mozilla.com>
Fri, 20 Mar 2020 22:45:37 +0000 (15:45 -0700)
committerGitHub <noreply@github.com>
Fri, 20 Mar 2020 22:45:37 +0000 (15:45 -0700)
commit41af0db30f459241d081f1a8bc232102ed9cfbde
tree0b64fb7c3ce5a57e84ad31dce9be4e902089baf3
parent9efc2f428358564fe64c374d762d0bfce1d92507
Makefile refactoring; NFC (#186)

* Use ?= for variables intended to be overridable.

* Use `override` consistently for variables not meant to be overridden.

* Omit miscellaneous comments from the build output.

* Tidy up some comments.

* Use `addprefix` to factor out a common prefix.

* Add a comment.

* Reorganize.

* Adjust indentation.

* Simplify the logic for the `check` rule.

* Remove the `override` keywords.

They theoretically protect what the Makefile considers to be
implementation details from being overridden on the command-line,
but in practice this isn't super important, and they add a lot of
clutter.

* Put source file names on their own lines.
Makefile