Revision 1174 branches/threaded2merge/tests/threads/msimple/GNUmakefile

GNUmakefile (revision 1174)
1
GTEST_DIR=../../googletest-read-only
2

  
3
all: clean tests_msimple
4

  
1 5
msimple: msimple.tpl
2 6
	CXXFLAGS=-pthread LDFLAGS=-pthread ../../../admb -g msimple
3 7
	-./msimple
8

  
9
tests_msimple: msimple tests_msimple.cpp
10
	cp $(GTEST_DIR)/gtest-all.o .
11
	CXXFLAGS="-pthread -I$(GTEST_DIR)/include" LDFLAGS=-pthread ../../../admb -g tests_msimple.cpp main.cpp gtest-all.o
12
	-./tests_msimple
13

  
4 14
clean:
5 15
	@rm -vf msimple.log
6 16
	@rm -vf msimple.cpp
......
9 19
	@rm -vf log_master
10 20
	@rm -vf eigv.rpt
11 21
	@rm -vf msimple.htp
22
	@rm -vf msimple
12 23
	@rm -vf fmin.log
24
	@rm -vf tests_msimple

Also available in: Unified diff