aboutsummaryrefslogtreecommitdiffstats
path: root/tools/leds/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/leds/Makefile')
-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 000000000000..078b666fd78b
--- /dev/null
+++ b/tools/leds/Makefile
@@ -0,0 +1,13 @@
+# Makefile for LEDs tools
+
+CC = $(CROSS_COMPILE)gcc
+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