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