RaspberrPi project source code
guowenxue
3 days ago 5f8080a9b3b70c5a348a2dddebd77adae563d291
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