aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Fabio Alessandro Locati <fale@redhat.com>2016-11-27 15:59:36 +0000
committerGravatar Mykyta Holubakha <hilobakho@gmail.com>2016-11-27 21:16:50 +0200
commitdb5ebb18368785cf0c5cd8fb7b44ae48548995cf (patch)
tree400bc44182ad88e9d755bc1c68ad3501396bbd47 /Makefile
parent45585924a301db14bfe06d95edc0cd722ee1d69f (diff)
Respect CFLAGS and sort it for easier read
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1d872e4..d2d81cb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,8 @@
-all: brightnessctl
-VERSION=0.1.1
+VERSION = 0.1.1
DESTDIR ?= /usr/local
-CFLAGS=-ggdb -Wall -Wextra -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
+CFLAGS += -ggdb -Wall -Wextra -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
+
+all: brightnessctl
install: brightnessctl
install -d ${DESTDIR}/bin