treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / tools / leds / Makefile
blob7b6bed13daaaed8b68abcc4b9b2aa8eb96f7974d
1 # SPDX-License-Identifier: GPL-2.0
2 # Makefile for LEDs tools
4 CFLAGS = -Wall -Wextra -g -I../../include/uapi
6 all: uledmon led_hw_brightness_mon
7 %: %.c
8 $(CC) $(CFLAGS) -o $@ $^
10 clean:
11 $(RM) uledmon led_hw_brightness_mon
13 .PHONY: all clean