Revision 1576 trunk/tests/gtests/Makefile

Makefile (revision 1576)
7 7
 test_adstring_array.cpp\
8 8
 test_dlist.cpp\
9 9
 test_ad_comm.cpp\
10
 test_df1b2atan2.obj\
11
 df1b2atan2.obj\
12 10
 test_gradient_structure.cpp\
13
 test_df_file.cpp\
14 11
 test_scalefactor.obj\
15 12
 scalefactor.obj\
13
 test_option_match.cpp\
16 14
 main.cpp
17 15

  
16
# test_df_file.cpp\
17
# test_df1b2atan2.obj\
18
# df1b2atan2.obj\
19

  
20

  
18 21
all: clean gtest-all
19 22
	./gtest-all
20 23

  
......
31 34
	CXXFLAGS="-Dmain=scalefactor" ../../admb -c -r -g $^
32 35

  
33 36
gtest-all: gtest-all.obj $(GTESTS)
34
#gtest-all: gtest-all.obj main.cpp test_scalefactor.obj scalefactor.obj
35
	CXXFLAGS=-I$(GTEST_DIR)/include ../../admb -g -r $^
37
	CXXFLAGS=-I$(GTEST_DIR)/include LDFLAGS=-pthread ../../admb -g -r $^
36 38

  
37 39
gtest-all.obj: googletest-read-only
38 40
	$(CXX) -c -g -I$(GTEST_DIR)/include -I$(GTEST_DIR) -o $@ $(GTEST_DIR)/src/gtest-all.cc

Also available in: Unified diff