diff options
author | NRK <nrk@disroot.org> | 2022-04-22 03:14:03 +0600 |
---|---|---|
committer | N-R-K <nrk@disroot.org> | 2022-05-30 12:07:01 +0000 |
commit | 197afce93508d0c17ec8966fb96deed80c3c0f82 (patch) | |
tree | cc9ee932218caa2243215a88a010f1494cb74855 /config.mk | |
parent | 450797c573ef4ae42e93de5571319a5318142df9 (diff) |
introduce config.mk
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.
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/config.mk b/config.mk new file mode 100644 index 0000000..c303e4b --- /dev/null +++ b/config.mk @@ -0,0 +1,25 @@ +# nsxiv version +VERSION = 29 + +# PREFIX for install +PREFIX = /usr/local +MANPREFIX = $(PREFIX)/share/man +EGPREFIX = $(PREFIX)/share/doc/nsxiv/examples + +# default value for optional dependencies. 1 = enabled, 0 = disabled +OPT_DEP_DEFAULT = 1 + +# autoreload backend: 1 = inotify, 0 = none +HAVE_INOTIFY = $(OPT_DEP_DEFAULT) + +# optional dependencies, see README for more info +HAVE_LIBFONTS = $(OPT_DEP_DEFAULT) +HAVE_LIBGIF = $(OPT_DEP_DEFAULT) +HAVE_LIBEXIF = $(OPT_DEP_DEFAULT) +HAVE_LIBWEBP = $(OPT_DEP_DEFAULT) + +# CFLAGS, any optimization flags goes here +CFLAGS = -std=c99 -Wall -pedantic + +# icons that will be installed via `make icon` +ICONS = 16x16.png 32x32.png 48x48.png 64x64.png 128x128.png |