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
This commit is contained in:
rich_sposato 2011-10-13 18:37:58 +00:00
parent 1fcba1aa3b
commit 6e39840984

View file

@ -1,9 +1,10 @@
include ../Makefile.common include ../Makefile.common
BIN := main$(BIN_SUFFIX) BIN := main$(BIN_SUFFIX)
SRC := main.cpp SRC := main.cpp ThreadPool.cpp
OBJ := $(SRC:.cpp=.o) OBJ := $(SRC:.cpp=.o)
CXXFLAGS := $(CXXWARNFLAGS) -g -fexpensive-optimizations -O3 CXXFLAGS := $(CXXWARNFLAGS) -g -fexpensive-optimizations -O3
LDLIBS += -lpthread
.PHONY: all clean .PHONY: all clean
all: $(BIN) all: $(BIN)