From db5ebb18368785cf0c5cd8fb7b44ae48548995cf Mon Sep 17 00:00:00 2001 From: Fabio Alessandro Locati Date: Sun, 27 Nov 2016 15:59:36 +0000 Subject: Respect CFLAGS and sort it for easier read --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3