summaryrefslogtreecommitdiffstats
path: root/tools/gpio/Makefile
blob: c155d6bc47a7580cc63d00d8abc2101241f74faf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
CC = $(CROSS_COMPILE)gcc
CFLAGS += -O2 -Wall -g -D_GNU_SOURCE

all: lsgpio

lsgpio: lsgpio.o gpio-utils.o

%.o: %.c gpio-utils.h

.PHONY: clean
clean:
	rm -f *.o lsgpio