linux-surface/tools/leds/Makefile

14 lines
232 B
Makefile
Raw Normal View History

2017-08-10 13:25:24 +00:00
# Makefile for LEDs tools
CC = $(CROSS_COMPILE)gcc
CFLAGS = -Wall -Wextra -g -I../../include/uapi
all: uledmon led_hw_brightness_mon
%: %.c
$(CC) $(CFLAGS) -o $@ $^
clean:
$(RM) uledmon led_hw_brightness_mon
.PHONY: all clean