From 17c880a2baf6bd1d5edc9dce6cb879c8690c96d0 Mon Sep 17 00:00:00 2001 From: KernelMaker Date: Tue, 29 Aug 2017 18:41:31 +0800 Subject: [PATCH] update Makefile, remove protobuf dependence and .d --- Makefile | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Makefile b/Makefile index 1205d63e89..7d85a176bd 100644 --- a/Makefile +++ b/Makefile @@ -114,7 +114,6 @@ LIB_PATH += -L$(GLOG_PATH)/.libs/ endif LDFLAGS += $(LIB_PATH) \ - -lprotobuf \ -lpink$(DEBUG_SUFFIX) \ -lslash$(DEBUG_SUFFIX) \ -lnemo$(DEBUG_SUFFIX) \ @@ -204,16 +203,6 @@ BINARY = ${BINNAME} %.o: %.cc $(AM_V_CC)$(CXX) $(CXXFLAGS) -c $< -o $@ -%.d: %.cc - @set -e; rm -f $@; $(CXX) -MM $(CXXFLAGS) $< > $@.$$$$; \ - sed 's,\($(notdir $*)\)\.o[ :]*,$(SRC_DIR)/\1.o $@ : ,g' < $@.$$$$ > $@; \ - rm -f $@.$$$$ - -ifneq ($(MAKECMDGOALS),clean) - -include $(LIBOBJECTS:.o=.d) -endif - - all: $(BINARY) dbg: $(BINARY)