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