build.sh revision 8d51ab70
18d51ab70SShuo Chen#!/bin/bash 28d51ab70SShuo Chen 38d51ab70SShuo Chenset -x 48d51ab70SShuo ChenCXXFLAGS="-I /usr/local/include/ -I $HOME/muduo" 58d51ab70SShuo ChenLDFLAGS="-L /usr/local/lib/ -l tls -l ssl -l crypto" 68d51ab70SShuo ChenLIB="TlsConfig.cc TlsStream.cc ../logging/Logging.cc ../logging/LogStream.cc ../datetime/Timestamp.cc ../thread/Thread.cc" 78d51ab70SShuo Cheng++ $CXXFLAGS -iquote ../tpc/include -I../ -std=c++11 -pthread $LIB client.cc -o client $LDFLAGS 88d51ab70SShuo Chen 98d51ab70SShuo Cheng++ $CXXFLAGS loop-libressl.cc -o loop-libressl $LDFLAGS 108d51ab70SShuo Cheng++ $CXXFLAGS benchmark-libressl.cc -o benchmark-libressl $LDFLAGS 11