Revision 1249 trunk/tests/gtests/Makefile

Makefile (revision 1249)
3 3
all: gtest-all
4 4
	./gtest-all
5 5

  
6
gtest-all: main.cpp test_adstring_strcase.cpp test_fmm_control.cpp test_atan2.cpp test_adstring_array.cpp test_dlist.cpp test_ad_comm.cpp
6
gtest-all: main.cpp test_adstring_strcase.cpp test_fmm_control.cpp test_atan2.cpp test_adstring_array.cpp test_dlist.cpp test_ad_comm.cpp test_df1b2atan2.o df1b2atan2.o
7 7
	cp $(GTEST_DIR)/gtest-all.o .
8 8
	CXXFLAGS=-I$(GTEST_DIR)/include ../../admb gtest-all.o $^
9 9

  
10
test_df1b2atan2.o: test_df1b2atan2.cpp
11
	CXXFLAGS=-I$(GTEST_DIR)/include ../../build/dist/bin/adcomp -r $^
12

  
13
df1b2atan2.o: df1b2atan2.cpp
14
	../../build/dist/bin/adcomp -r $^
15

  
10 16
clean:
11 17
	@rm -vf gtest-all *.o

Also available in: Unified diff