Blame view

tools/leds/Makefile 242 Bytes
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  # SPDX-License-Identifier: GPL-2.0
fa7f32422   David Lechner   tools/leds: Add u...
2
  # Makefile for LEDs tools
fa7f32422   David Lechner   tools/leds: Add u...
3
  CFLAGS = -Wall -Wextra -g -I../../include/uapi
ae3473231   Jacek Anaszewski   tools/leds: Add l...
4
  all: uledmon led_hw_brightness_mon
fa7f32422   David Lechner   tools/leds: Add u...
5
6
7
8
  %: %.c
  	$(CC) $(CFLAGS) -o $@ $^
  
  clean:
ae3473231   Jacek Anaszewski   tools/leds: Add l...
9
  	$(RM) uledmon led_hw_brightness_mon
fa7f32422   David Lechner   tools/leds: Add u...
10
11
  
  .PHONY: all clean