test/Makefile
changeset 46 7471e31bb278
parent 39 66b5cc6cb987
child 48 9ff5d2dfa75a
     1.1 --- a/test/Makefile	Fri Jan 16 18:39:27 2015 +0100
     1.2 +++ b/test/Makefile	Sat Jan 24 15:26:40 2015 +0100
     1.3 @@ -5,14 +5,14 @@
     1.4  LD=i686-w64-mingw32-c++
     1.5  LDFLAGS=-lstdc++
     1.6  else ifeq ($(BUILD_FOR),MINGW32_NT-6.1)
     1.7 -CXX=g++ -std=gnu++11 -DWIN32
     1.8 +CXX=g++ -std=gnu++11 -DWIN32 -pthread
     1.9  LD=g++
    1.10 -LDFLAGS=-pthread -L../src -lpEpEngine -lstdc++
    1.11 +LDFLAGS=-L../src -lpEpEngine -lstdc++
    1.12  else
    1.13 -CC=g++ -std=gnu++11
    1.14 -CXX=g++ -std=gnu++11
    1.15 +CC=g++ -std=gnu++11 -pthread
    1.16 +CXX=g++ -std=gnu++11 -pthread
    1.17  LD=g++
    1.18 -LDFLAGS=-L$(HOME)/lib -pthread -lpEpEngine -lstdc++
    1.19 +LDFLAGS=-L$(HOME)/lib -lpEpEngine -lstdc++
    1.20  endif
    1.21  CXXFLAGS=-g -O0 -I../src
    1.22  # CXXFLAGS=-O3 -DNDEBUG
    1.23 @@ -51,5 +51,5 @@
    1.24  	LD_LIBRARY_PATH=~/lib:../src ./pEpEngineTest
    1.25  
    1.26  message_api_test: message_api_test.o
    1.27 -	$(CXX) $(LDFLAGS) -o message_api_test message_api_test.o
    1.28 +	$(LD) $(LDFLAGS) -o message_api_test message_api_test.o
    1.29