Skip to content

Commit

Permalink
Updated makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Hummer12007 committed Jul 20, 2016
1 parent f398fe4 commit 2497c79
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
all: brightnessctl
VERSION=0.1.1
DESTDIR=/usr/local
DESTDIR ?= /usr/local
CFLAGS=-ggdb -Wall -Wextra -DVERSION=\"${VERSION}\" -D_GNU_SOURCE

install: brightnessctl
install -m 4711 brightnessctl ${DESTDIR}/bin
install -d ${DESTDIR}/bin
install -m 4711 brightnessctl ${DESTDIR}/bin/

clean:
rm -f brightnessctl
Expand Down

0 comments on commit 2497c79

Please sign in to comment.