Revision 1185 branches/threaded2merge/tests/gtests/Makefile

Makefile (revision 1185)
1 1
GTEST_DIR=../googletest-read-only
2 2

  
3 3
all: gtest-all
4
	./gtest-all
4
	-./gtest-all
5 5

  
6 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_adthread_manager.cpp
7
	cp $(GTEST_DIR)/gtest-all.o .
8
	CXXFLAGS=-I$(GTEST_DIR)/include ../../admb gtest-all.o $^
7
	CXXFLAGS=-I$(GTEST_DIR)/include ../../admb $(GTEST_DIR)/gtest-all.o $^
9 8

  
10 9
clean:
11 10
	@rm -vf gtest-all *.o
12
	@rm -f variance
13
	@rm -f eigv.rpt
14
	@rm -f simple.log
15
	@rm -f fmin.log
11
	@rm -vf variance
12
	@rm -vf eigv.rpt
13
	@rm -vf simple.log
14
	@rm -vf fmin.log
15
	@rm -vf cmpdiff.tmp
16
	@rm -vf gradfil1.tmp
17
	@rm -vf gradfil2.tmp
18
	@rm -vf varssave.tmp

Also available in: Unified diff