From 6e39840984919ce1215d86bfc405161c26d57d47 Mon Sep 17 00:00:00 2001 From: rich_sposato Date: Thu, 13 Oct 2011 18:37:58 +0000 Subject: [PATCH] Updated make file to compile ThreadPool and use pthreads library. git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1142 7ec92016-0320-0410-acc4-a06ded1c099a --- test/SafeFormat/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/SafeFormat/Makefile b/test/SafeFormat/Makefile index 668990e..1cb6507 100644 --- a/test/SafeFormat/Makefile +++ b/test/SafeFormat/Makefile @@ -1,9 +1,10 @@ include ../Makefile.common BIN := main$(BIN_SUFFIX) -SRC := main.cpp +SRC := main.cpp ThreadPool.cpp OBJ := $(SRC:.cpp=.o) CXXFLAGS := $(CXXWARNFLAGS) -g -fexpensive-optimizations -O3 +LDLIBS += -lpthread .PHONY: all clean all: $(BIN)