2016-09-16 21:16:50 +02:00
|
|
|
# Makefile for LEDs tools
|
|
|
|
|
|
|
|
CC = $(CROSS_COMPILE)gcc
|
|
|
|
CFLAGS = -Wall -Wextra -g -I../../include/uapi
|
|
|
|
|
2017-01-29 12:52:31 +01:00
|
|
|
all: uledmon led_hw_brightness_mon
|
2016-09-16 21:16:50 +02:00
|
|
|
%: %.c
|
|
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
|
|
|
|
clean:
|
2017-01-29 12:52:31 +01:00
|
|
|
$(RM) uledmon led_hw_brightness_mon
|
2016-09-16 21:16:50 +02:00
|
|
|
|
|
|
|
.PHONY: all clean
|