-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile: let variables be overridable via environment. (#30)
Currently, variables can only be passed down and overridden by directly specifying them as parameters to the `make` call. It's better to take values from the environment instead and only define variables if the environment doesn't already do so. In order for this to work correctly, we also want to split up `LDFLAGS` into `LDFLAGS` and `LIBS`, so that overriding the `LDFLAGS` themselves do not touch the linked library list.
- Loading branch information
Showing
2 changed files
with
71 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters