]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
fa7f3242 DL |
2 | # Makefile for LEDs tools |
3 | ||
4 | CC = $(CROSS_COMPILE)gcc | |
5 | CFLAGS = -Wall -Wextra -g -I../../include/uapi | |
6 | ||
ae347323 | 7 | all: uledmon led_hw_brightness_mon |
fa7f3242 DL |
8 | %: %.c |
9 | $(CC) $(CFLAGS) -o $@ $^ | |
10 | ||
11 | clean: | |
ae347323 | 12 | $(RM) uledmon led_hw_brightness_mon |
fa7f3242 DL |
13 | |
14 | .PHONY: all clean |