mirror of
https://github.com/torvalds/linux.git
synced 2026-12-05 12:54:27 +00:00
Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
13 lines
169 B
Makefile
13 lines
169 B
Makefile
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
|