David Lechner | fa7f324 | 2016-09-16 14:16:50 -0500 | [diff] [blame] | 1 | # Makefile for LEDs tools |
| 2 | |
| 3 | CC = $(CROSS_COMPILE)gcc |
| 4 | CFLAGS = -Wall -Wextra -g -I../../include/uapi |
| 5 | |
Jacek Anaszewski | ae34732 | 2017-01-29 12:52:31 +0100 | [diff] [blame] | 6 | all: uledmon led_hw_brightness_mon |
David Lechner | fa7f324 | 2016-09-16 14:16:50 -0500 | [diff] [blame] | 7 | %: %.c |
| 8 | $(CC) $(CFLAGS) -o $@ $^ |
| 9 | |
| 10 | clean: |
Jacek Anaszewski | ae34732 | 2017-01-29 12:52:31 +0100 | [diff] [blame] | 11 | $(RM) uledmon led_hw_brightness_mon |
David Lechner | fa7f324 | 2016-09-16 14:16:50 -0500 | [diff] [blame] | 12 | |
| 13 | .PHONY: all clean |