aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2015-09-09 16:28:25 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2015-09-09 16:28:25 +1200
commit8e947db6be8e79607ecddaa9bafbd7f29940a187 (patch)
tree7bd18e80f847b03bca633c490d857f28a9a5bbc6 /Makefile
parent7e9478d19c15703f0b4f83bfddf2830d37633e31 (diff)
downloadparamano-8e947db6be8e79607ecddaa9bafbd7f29940a187.tar.xz
Changed header include policy to increase build time
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 822f319..0dc7028 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,7 @@ BINDIR=$(PREFIX)/bin
SYSCONFDIR=/etc
SHAREDIR=$(PREFIX)/share
LOCALEDIR=$(SHAREDIR)/locale
+POWER_DIR="/sys/class/power_supply/"
# External program/support programs
SUDO=$(BINDIR)/sudo
@@ -22,6 +23,7 @@ DEFS += -DPREFIX=\"$(PREFIX)\" \
-DPARAMANO_CONF=\"$(PARAMANO_CONF)\" \
-DLOCALEDIR=\"$(LOCALEDIR)\" \
-DSHAREDIR=\"$(SHAREDIR)\" \
+ -DPOWERDIR=\"$(POWER_DIR)\" \
-DROOT_UID=$(ROOT_UID) \
-D_GNU_SOURCE