Skip to content

Commit

Permalink
update Makefile, remove protobuf dependence and .d
Browse files Browse the repository at this point in the history
  • Loading branch information
KernelMaker committed Aug 29, 2017
1 parent d357c88 commit 17c880a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ LIB_PATH += -L$(GLOG_PATH)/.libs/
endif

LDFLAGS += $(LIB_PATH) \
-lprotobuf \
-lpink$(DEBUG_SUFFIX) \
-lslash$(DEBUG_SUFFIX) \
-lnemo$(DEBUG_SUFFIX) \
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 17c880a

Please sign in to comment.