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