summaryrefslogtreecommitdiff
path: root/tools/gpio/Makefile
blob: 4d198d5c420326616d785a7c1214b2638dc38708 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
CC = $(CROSS_COMPILE)gcc
CFLAGS += -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