diff --git a/Makefile b/Makefile index f6857ff..06f8fa1 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ CC?=cc CXX?=c++ CFLAGS+=-std=c11 CXXFLAGS+=-I$(BOOST_INCLUDE) -std=c++11 -LDFLAGS+=-L$(BOOST_LIB) +LDFLAGS+=-L$(BOOST_LIB) -lboost_regex-mt ifdef NDEBUG CFLAGS+=-O3 -DNDEBUG diff --git a/test_webserver.cc b/test_webserver.cc index 2e5458b..a250329 100644 --- a/test_webserver.cc +++ b/test_webserver.cc @@ -3,6 +3,7 @@ int main() { - std::cout << "hello, world\n"; + pEp::Webserver web{net::ip::address::from_string("127.0.0.1"), 8080, "htdocs"}; return 0; } +