From 794acdd7e45b2305f25fdddc6fd43e7648216807 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期二, 16 六月 2020 17:14:57 +0800 Subject: [PATCH] move ipc --- 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