aboutsummaryrefslogtreecommitdiff
path: root/config.mk
Commit message (Collapse)AuthorAgeFilesLines
* Makefile: use lowercase for internal macrosNRK2022-05-301-1/+1
| | | | ref: 971f5d669490696c11f5c4ede1fee558e05ae4fc
* config.mk: use c99 as default CCNRK2022-05-301-1/+3
| | | | | See https://github.com/nsxiv/nsxiv/issues/262#issuecomment-1111216349 for related discussion.
* config.mk: add comments for OpenBSD usersNRK2022-05-301-0/+9
| | | | Closes: https://github.com/nsxiv/nsxiv/issues/262
* introduce config.mkNRK2022-05-301-0/+25
| | | | | | | this moves all the build variables intended to be modified by the user over to `config.mk` similar to other suckless software. also move CPPFLAGS down below for cosmetic purposes.
* Much more portable MakefileBert Münnich2017-10-121-18/+0
| | | | | | | | | | | | | | | | | | | | The config.mk file is now optional and only needs to be created if one wants to persistently overwrite default macro values. Features used in the Makefile that are not yet in the POSIX standard: - Advanced macro assignment operators '+=' and '?=' [1] - Special target .PHONY [2] - Pattern rules [3]; only needed when $srcdir != '.'. For every pattern rule there is an inference rule with the same effect. Hopefully, the inference rules get picked up by make programs not supporting pattern rules. - Silently including multiple possibly not exisiting files [4] [5] [1] http://austingroupbugs.net/view.php?id=330 [2] http://austingroupbugs.net/view.php?id=523 [3] http://austingroupbugs.net/view.php?id=513 [4] http://austingroupbugs.net/view.php?id=333 [5] http://austingroupbugs.net/view.php?id=518
* Move DEPFLAGS from Makefile to config.mkBert Münnich2017-10-081-0/+1
|
* Get rid of SRCDIR macro, VPATH on make cmd line sufficesBert Münnich2017-10-081-2/+0
|
* Support out-of-source buildsBert Münnich2017-09-081-0/+2
| | | | | Fixes issue #167. Long after closing this issue (kind of wontfix) we have switched to GNU make and can thus use its features like VPATH.
* Simplify config.mkBert Münnich2017-09-081-12/+5
|
* Move configuration parts from Makefile into config.mkBert Münnich2017-09-061-0/+24