summaryrefslogtreecommitdiff
path: root/tools/leds/Makefile
blob: c379af003807ad6606d432e98e8c2dd413c04e7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# SPDX-License-Identifier: GPL-2.0
# 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