OUT = test.exe

SRC = ./main.cpp ./proto/message.pb.cc

INC = ./proto/message.pb.h

BOOST_INCLUDE = F:/boost_1_51_0
BOOST_LIB = F:/boost_1_51_0/stage/lib/v9/lib

PROTO_LIB = C:/cygwin/usr/local/lib/
PROTO_INCLUDE = C:/cygwin/usr/local/include/

all : $(OUT)

$(OUT) : $(SRC)
g++ -w -ggdb -o $(OUT) $(SRC) -I$(PROTO_INCLUDE) -L$(PROTO_LIB) -lprotobuf

posted on 2013-04-18 18:55  夏多  阅读(347)  评论(0)    收藏  举报