projects
/
cascardo
/
linux.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
tools/gpio: add the gpio-hammer tool
[cascardo/linux.git]
/
tools
/
gpio
/
Makefile
1
CC = $(CROSS_COMPILE)gcc
2
CFLAGS += -O2 -Wall -g -D_GNU_SOURCE
3
4
all: lsgpio gpio-hammer
5
6
lsgpio: lsgpio.o gpio-utils.o
7
gpio-hammer: gpio-hammer.o gpio-utils.o
8
9
%.o: %.c gpio-utils.h
10
11
.PHONY: clean
12
clean:
13
rm -f *.o lsgpio gpio-hammer