Statistics
| Revision:

root / trunk / tests / gtests / Makefile @ 1308

History | View | Annotate | Download (769 Bytes)

1
GTEST_DIR=../googletest-read-only
2

    
3
GTESTS=\
4
 test_adstring_strcase.cpp\
5
 test_fmm_control.cpp\
6
 test_atan2.cpp\
7
 test_adstring_array.cpp\
8
 test_dlist.cpp\
9
 test_ad_comm.cpp\
10
 test_df1b2atan2.o\
11
 df1b2atan2.o\
12
 test_gradient_structure.cpp\
13
 test_df_file.cpp\
14
 main.cpp
15

    
16
all: clean gtest-all
17
	./gtest-all
18

    
19
gtest-all: gtest-all.o $(GTESTS)
20
	CXXFLAGS=-I$(GTEST_DIR)/include ../../admb -g $^
21

    
22
test_df1b2atan2.o: test_df1b2atan2.cpp
23
	CXXFLAGS=-I$(GTEST_DIR)/include ../../admb -c -r -g $^
24

    
25
gtest-all.o: $(GTEST_DIR)/src/gtest-all.cc
26
	cp $(GTEST_DIR)/gtest-all.o .
27
	@#CXXFLAGS=-I$(GTEST_DIR)/include ../../admb -c -g $^
28

    
29
df1b2atan2.o: df1b2atan2.cpp
30
	../../admb -c -r $^
31

    
32
clean:
33
	@rm -vf gtest-all *.o
34
	@rm -vf eigv.rpt
35
	@rm -vf fmin.log
36
	@rm -vf simple.log
37
	@rm -vf variance