From 591aacee97f4a6486631c38a6b418e20b2c4109c Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期四, 10 九月 2020 14:56:47 +0800
Subject: [PATCH] update

---
 common/Makefile |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/common/Makefile b/common/Makefile
index 7b626f7..f8e0188 100755
--- a/common/Makefile
+++ b/common/Makefile
@@ -12,8 +12,9 @@
 SOURCES := $(wildcard *.c)
 OBJS   = $(patsubst %.c, %.o, $(SOURCES)) 
 
+all: libs
 
-all: $(LIBCOMMON) $(DLIBCOMMON)
+libs: $(LIBCOMMON) $(DLIBCOMMON)
 
 
 #static lib
@@ -26,6 +27,7 @@
 	rm -f *.o
 	$(CC) -fPIC -shared $(CFLAGS) $^ -o $@ $(LDFLAGS)
 
+
 #PREFIX is environment variable, but if it is not set, then set default value
 ifeq ($(PREFIX),)
     PREFIX := /usr/local

--
Gitblit v1.8.0