xref: /linux/tools/leds/Makefile (revision 71e2f4dd5a65bd8dbca0b77661e75eea471168f8)
1# SPDX-License-Identifier: GPL-2.0
2# Makefile for LEDs tools
3
4CFLAGS = -Wall -Wextra -g -I../../include/uapi
5
6all: uledmon led_hw_brightness_mon
7%: %.c
8	$(CC) $(CFLAGS) -o $@ $^
9
10clean:
11	$(RM) uledmon led_hw_brightness_mon
12
13.PHONY: all clean
14