aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index acbea1a..5980be1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
VERSION = 0.3
-CFLAGS += -std=c99 -g -Wall -Wextra -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=200809L -lm
+CFLAGS += -std=c99 -g -Wall -Wextra -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=200809L
+LDLIBS = -lm
PREFIX ?= /usr
BINDIR = ${DESTDIR}${PREFIX}/bin
@@ -23,7 +24,6 @@ install_udev_rules:
install -d ${DESTDIR}${UDEVDIR}
install -m 0644 90-brightnessctl.rules ${DESTDIR}${UDEVDIR}
-
clean:
rm -f brightnessctl