summaryrefslogtreecommitdiffstats
path: root/tools/leds/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/leds/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/leds/Makefile b/tools/leds/Makefile
new file mode 100644
index 000000000..7b6bed13d
--- /dev/null
+++ b/tools/leds/Makefile
@@ -0,0 +1,13 @@
+# SPDX-License-Identifier: GPL-2.0
+# Makefile for LEDs tools
+
+CFLAGS = -Wall -Wextra -g -I../../include/uapi
+
+all: uledmon led_hw_brightness_mon
+%: %.c
+ $(CC) $(CFLAGS) -o $@ $^
+
+clean:
+ $(RM) uledmon led_hw_brightness_mon
+
+.PHONY: all clean