aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Mykyta Holubakha <hilobakho@gmail.com>2016-07-20 16:45:57 +0300
committerGravatar Mykyta Holubakha <hilobakho@gmail.com>2016-07-20 16:45:57 +0300
commit3f66714a9609f8fa0910090c9642387dbf4f0876 (patch)
tree84ea77b765af5b6d2533831f4b8917a41912510e /Makefile
parente99ccb3147f41f1298f76fb13875c1796c930d4d (diff)
Added LICENSE, renamed PREFIX to DESTDIR
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 185e9e8..2323030 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
all: brightnessctl
VERSION=0.1.1
-PREFIX=/usr/local
+DESTDIR=/usr/local
CFLAGS=-ggdb -Wall -Wextra -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
install: brightnessctl
- install -m 4711 brightnessctl ${PREFIX}/bin
+ install -m 4711 brightnessctl ${DESTDIR}/bin
clean:
rm -f brightnessctl