Revision 752 branches/threaded2/tests/threaded/Makefile

Makefile (revision 752)
1 1
all: run-new_sim_thread4 run-new_sim_thread3 tests
2 2

  
3 3
gtest-all.o:
4
	#g++ -c -std=c++11 -pthread -I../googletest-read-only -I../googletest-read-only/include  ../googletest-read-only/src/gtest-all.cc
5
	g++ -c -pthread -I../googletest-read-only -I../googletest-read-only/include  ../googletest-read-only/src/gtest-all.cc
4
	g++ -c -std=c++11 -pthread -I../googletest-read-only -I../googletest-read-only/include  ../googletest-read-only/src/gtest-all.cc
6 5

  
7 6
tests: gtest-all.o
8
	#CXXFLAGS="-std=c++11 -I../googletest-read-only/include" admb tests_threaded.cpp gtest-all.o new_sim_thread3.o adpthread_manager.o df_file.o model7.o
9
	CXXFLAGS="-I../googletest-read-only/include" admb tests_threaded.cpp gtest-all.o new_sim_thread3.o adpthread_manager.o df_file.o model7.o
7
	CXXFLAGS="-std=c++11 -I../googletest-read-only/include" admb tests_threaded.cpp gtest-all.o new_sim_thread3.o adpthread_manager.o df_file.o model7.o
10 8
	./tests_threaded
11 9

  
12 10
run-new_sim_thread3:
13
	#CXXFLAGS="-std=c++11" admb new_sim_thread3.cpp main3.cpp adpthread_manager.cpp df_file.cpp model7.cpp 
14
	admb new_sim_thread3.cpp main3.cpp adpthread_manager.cpp df_file.cpp model7.cpp 
11
	CXXFLAGS="-std=c++11" admb new_sim_thread3.cpp main3.cpp adpthread_manager.cpp df_file.cpp model7.cpp 
15 12
	@echo "=== Run new_sim_thread3"
16 13
	time ./new_sim_thread3
17 14

  
18 15
run-new_sim_thread4:
19
	#CXXFLAGS="-std=c++11" admb new_sim_thread4.cpp main4.cpp df_file.cpp model7.cpp 
20
	admb new_sim_thread4.cpp main4.cpp df_file.cpp model7.cpp 
16
	CXXFLAGS="-std=c++11" admb new_sim_thread4.cpp main4.cpp df_file.cpp model7.cpp 
21 17
	@echo "=== Run new_sim_thread4"
22 18
	time ./new_sim_thread4
23 19

  

Also available in: Unified diff