summaryrefslogtreecommitdiffstats
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..c03a79ebf9c8
--- /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
+%: %.c
+ $(CC) $(CFLAGS) -o $@ $^
+
+clean:
+ $(RM) uledmon
+
+.PHONY: all clean