guowenxue
2021-04-21 e0e3a637e92dbe3c7700cc541410ff19b3b0c80c
modules/c/makefile
@@ -18,8 +18,13 @@
CFLAGS+=-I${PWD}
#CFLAGS+=-Wall -Werror
# default use libgpiod library
#CFLAGS+=-DCONFIG_USE_WIRINGPI
LDFLAGS+=-lwiringPi
LDFLAGS+=-lgpiod
LDFLAGS+=-lpthread
LDFLAGS+=-lm
VPATH= .
SRCS = $(wildcard ${VPATH}/*.c)