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