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 | |||||
6 | all: uledmon | ||||
7 | %: %.c | ||||
8 | $(CC) $(CFLAGS) -o $@ $^ | ||||
9 | |||||
10 | clean: | ||||
11 | $(RM) uledmon | ||||
12 | |||||
13 | .PHONY: all clean |