OpenCloudOS-Kernel/tools/leds/Makefile

14 lines
242 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Makefile for LEDs tools
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