xref: /openbmc/linux/tools/leds/Makefile (revision ae347323)
1fa7f3242SDavid Lechner# Makefile for LEDs tools
2fa7f3242SDavid Lechner
3fa7f3242SDavid LechnerCC = $(CROSS_COMPILE)gcc
4fa7f3242SDavid LechnerCFLAGS = -Wall -Wextra -g -I../../include/uapi
5fa7f3242SDavid Lechner
6*ae347323SJacek Anaszewskiall: uledmon led_hw_brightness_mon
7fa7f3242SDavid Lechner%: %.c
8fa7f3242SDavid Lechner	$(CC) $(CFLAGS) -o $@ $^
9fa7f3242SDavid Lechner
10fa7f3242SDavid Lechnerclean:
11*ae347323SJacek Anaszewski	$(RM) uledmon led_hw_brightness_mon
12fa7f3242SDavid Lechner
13fa7f3242SDavid Lechner.PHONY: all clean
14