guowenxue
2021-04-21 eeb821fa6846e84c9fe3e80d58f41b7a5a418e70
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)