1 2 3 4 5 6 7 8 9 10 11 12 13
# 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