ubuntu-linux-kernel/tools/leds/Makefile

15 lines
267 B
Makefile
Raw Permalink Normal View History

2024-04-01 15:06:58 +00:00
# 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