guowenxue
2021-08-09 45535c46b444c4ae33ee1e974bb06abf7254a132
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)