blob: 50cd9e3b5d51b307fb9ee9d03e85e6d5ac3b7adc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
VERSION = 0.1.1
DESTDIR ?= /usr/local
CFLAGS += -std=c99 -g -Wall -Wextra -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
MODE ?= 4711
all: brightnessctl
install: brightnessctl
install -d ${DESTDIR}/bin
install -m ${MODE} brightnessctl ${DESTDIR}/bin/
clean:
rm -f brightnessctl
.PHONY: all install clean
|