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