guowenxue
2021-11-03 b6a72028f0880a9e1d98502c15b7ceeaaf8042ce
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)