Commit 63d6241e authored by Christophe Blaess's avatar Christophe Blaess
Browse files

[FIX] `CC`, `CFLAGS` and `LDFLAGS` definitions in Makefile.

To be compatible with Yocto Project cross toochain. (Thanks, Pierre Ficheux!).
parent d3047efd
CROSS_COMPILE ?=
CC = $(CROSS_COMPILE)gcc
CFLAGS = -Wall -g
LDFLAGS = -lgpiod
CC ?= $(CROSS_COMPILE)gcc
CFLAGS += -Wall -g
LDFLAGS += -lgpiod
EXE = \
read-gpio \
......@@ -13,10 +13,8 @@ EXE = \
all:$(EXE)
.PHONY: clean
clean:
rm -f $(EXE) *.o
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment