1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 # Makefile for LEDs tools 2 # Makefile for LEDs tools 3 3 >> 4 CC = $(CROSS_COMPILE)gcc 4 CFLAGS = -Wall -Wextra -g -I../../include/uapi 5 CFLAGS = -Wall -Wextra -g -I../../include/uapi 5 6 6 all: uledmon led_hw_brightness_mon 7 all: uledmon led_hw_brightness_mon 7 %: %.c 8 %: %.c 8 $(CC) $(CFLAGS) -o $@ $^ 9 $(CC) $(CFLAGS) -o $@ $^ 9 10 10 clean: 11 clean: 11 $(RM) uledmon led_hw_brightness_mon 12 $(RM) uledmon led_hw_brightness_mon 12 13 13 .PHONY: all clean 14 .PHONY: all clean
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.