aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2011-01-07 18:54:40 +0000
committerConnor Lane Smith <cls@lubutu.com>2011-01-07 18:54:40 +0000
commitd515d2758fab55809ef9dcb9b1b8dfb18a5b1606 (patch)
tree3b20ec9ea5378ab79a063be99fcaa07d76cc3bfd /config.mk
parenta8ea79715fd2ca85d0b08e8255357c042029ab19 (diff)
downloaddmenu-d515d2758fab55809ef9dcb9b1b8dfb18a5b1606.tar.gz
dmenu-d515d2758fab55809ef9dcb9b1b8dfb18a5b1606.tar.bz2
dmenu-d515d2758fab55809ef9dcb9b1b8dfb18a5b1606.zip
cache option in config.mk
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index ebaab81..08ea1bf 100644
--- a/config.mk
+++ b/config.mk
@@ -1,7 +1,9 @@
# dmenu version
VERSION = 4.2.1
-# Customize below to fit your system
+# dmenu_path cache (absolute or relative to $HOME)
+CACHE = .dmenu_cache
+
# paths
PREFIX = /usr/local
@@ -19,7 +21,7 @@ INCS = -I${X11INC}
LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS}
# flags
-CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" -DCACHE=\"${CACHE}\" ${XINERAMAFLAGS}
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}