From c48b47daf87e85bdd347647a580e152f744d25e4 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sat, 15 Nov 2025 02:34:06 +0800
Subject: [PATCH] Add tools

---
 project/openlibs/makefile |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/project/openlibs/makefile b/project/openlibs/makefile
index 7f782e8..022cf08 100644
--- a/project/openlibs/makefile
+++ b/project/openlibs/makefile
@@ -1,6 +1,12 @@
 
 PRJ_PATH=$(shell pwd)
-libs=libgpiod cjson openssl mosquitto libevent
+
+openssl_dir := $(shell ls -d openssl/ 2>/dev/null | sed 's|/||g')
+other_dirs := $(shell ls -d */ 2>/dev/null | grep -v '^install/' | grep -v '^openssl/' | sed 's|/||g')
+libs := $(openssl_dir) $(other_dirs)
+
+# clear CFLAGS
+CLFAGS=
 
 all:
 	for dir in ${libs} ;  do cd ${PRJ_PATH}/$${dir} && ./build.sh ; done

--
Gitblit v1.9.1