From 5131f30d5a0942efe4ae0a0123f22cb72ee2f7a8 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Sat, 17 Dec 2011 08:34:42 -0600 Subject: [PATCH] makefile fixes for ubuntu --- examples/broadcast_server_tls/Makefile | 2 +- examples/echo_client/Makefile | 2 +- examples/echo_server/Makefile | 2 +- examples/echo_server_tls/Makefile | 2 +- examples/stress_client/Makefile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/broadcast_server_tls/Makefile b/examples/broadcast_server_tls/Makefile index dc2a361ff9..131d6ced84 100644 --- a/examples/broadcast_server_tls/Makefile +++ b/examples/broadcast_server_tls/Makefile @@ -10,7 +10,7 @@ SHARED ?= "1" ifeq ($(SHARED), 1) LDFLAGS := $(LDFLAGS) -lboost_system -lboost_date_time -lcrypto -lssl -lwebsocketpp else - LDFLAGS := $(LDFLAGS) $(BOOST_LIB_PATH)/libboost_system.a $(BOOST_LIB_PATH)/libboost_date_time.a $(BOOST_LIB_PATH)/libboost_regex.a -lcrypto -lssl ../../libwebsocketpp.a + LDFLAGS := $(LDFLAGS) ../../libwebsocketpp.a $(BOOST_LIB_PATH)/libboost_system.a $(BOOST_LIB_PATH)/libboost_date_time.a $(BOOST_LIB_PATH)/libboost_regex.a -lcrypto -lssl -lpthread endif broadcast_server: broadcast_server_tls.o diff --git a/examples/echo_client/Makefile b/examples/echo_client/Makefile index 72d22e338e..6354ad74da 100644 --- a/examples/echo_client/Makefile +++ b/examples/echo_client/Makefile @@ -7,7 +7,7 @@ SHARED ?= "1" ifeq ($(SHARED), 1) LDFLAGS := $(LDFLAGS) -lboost_system -lboost_thread -lwebsocketpp else - LDFLAGS := $(LDFLAGS) -lboost_system -lboost_thread -lboost_date_time -lboost_regex -lboost_random -lboost_program_options ../../libwebsocketpp.a + LDFLAGS := $(LDFLAGS) ../../libwebsocketpp.a -lboost_system -lboost_thread -lboost_date_time -lboost_regex -lboost_random -lboost_program_options endif echo_client: echo_client.o diff --git a/examples/echo_server/Makefile b/examples/echo_server/Makefile index 3a2dc2ae63..568938fade 100644 --- a/examples/echo_server/Makefile +++ b/examples/echo_server/Makefile @@ -10,7 +10,7 @@ SHARED ?= "1" ifeq ($(SHARED), 1) LDFLAGS := $(LDFLAGS) -lboost_system -lboost_date_time -lboost_program_options -lwebsocketpp else - LDFLAGS := $(LDFLAGS) $(BOOST_LIB_PATH)/libboost_system.a $(BOOST_LIB_PATH)/libboost_date_time.a $(BOOST_LIB_PATH)/libboost_regex.a -lboost_regex ../../libwebsocketpp.a + LDFLAGS := $(LDFLAGS) ../../libwebsocketpp.a $(BOOST_LIB_PATH)/libboost_system.a $(BOOST_LIB_PATH)/libboost_date_time.a $(BOOST_LIB_PATH)/libboost_regex.a endif echo_server: echo_server.o diff --git a/examples/echo_server_tls/Makefile b/examples/echo_server_tls/Makefile index 7f52b5e0b0..c1976c74c6 100644 --- a/examples/echo_server_tls/Makefile +++ b/examples/echo_server_tls/Makefile @@ -10,7 +10,7 @@ SHARED ?= "1" ifeq ($(SHARED), 1) LDFLAGS := $(LDFLAGS) -lboost_system -lboost_date_time -lcrypto -lssl -lwebsocketpp else - LDFLAGS := $(LDFLAGS) $(BOOST_LIB_PATH)/libboost_system.a $(BOOST_LIB_PATH)/libboost_date_time.a $(BOOST_LIB_PATH)/libboost_regex.a -lcrypto -lssl ../../libwebsocketpp.a + LDFLAGS := $(LDFLAGS) ../../libwebsocketpp.a $(BOOST_LIB_PATH)/libboost_system.a $(BOOST_LIB_PATH)/libboost_date_time.a $(BOOST_LIB_PATH)/libboost_regex.a -lcrypto -lssl -lpthread endif echo_server_tls: echo_server_tls.o diff --git a/examples/stress_client/Makefile b/examples/stress_client/Makefile index 6e5d43cafd..3c1ce4b441 100644 --- a/examples/stress_client/Makefile +++ b/examples/stress_client/Makefile @@ -10,7 +10,7 @@ SHARED ?= "1" ifeq ($(SHARED), 1) LDFLAGS := $(LDFLAGS) -lboost_system -lboost_thread -lboost_random -lboost_regex -lboost_date_time -lcrypto -lssl -lwebsocketpp else - LDFLAGS := $(LDFLAGS) $(BOOST_LIB_PATH)/libboost_system.a $(BOOST_LIB_PATH)/libboost_date_time.a $(BOOST_LIB_PATH)/libboost_regex.a $(BOOST_LIB_PATH)/libboost_thread.a $(BOOST_LIB_PATH)/libboost_random.a -lcrypto -lssl ../../libwebsocketpp.a + LDFLAGS := $(LDFLAGS) ../../libwebsocketpp.a $(BOOST_LIB_PATH)/libboost_system.a $(BOOST_LIB_PATH)/libboost_date_time.a $(BOOST_LIB_PATH)/libboost_regex.a $(BOOST_LIB_PATH)/libboost_thread.a $(BOOST_LIB_PATH)/libboost_random.a -lcrypto -lssl -lpthread endif stress_client: stress_client.o