From c252ab0004c4ed88b4121043fb8b8d52341ae511 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 17 Aug 2021 15:47:46 +0800
Subject: [PATCH] Add build_QT4.sh in bak

---
 modules/c/makefile |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/modules/c/makefile b/modules/c/makefile
index c4d4d6e..240ce22 100644
--- a/modules/c/makefile
+++ b/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)

--
Gitblit v1.9.1