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

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

  
3
all: tests_msimple
3
all: run
4 4

  
5 5
msimple.cpp: msimple.tpl
6
	PATH=../../../build/dist/bin:$(PATH) CXXFLAGS=-pthread LDFLAGS=-pthread admb -g msimple
6
	../../../admb -g msimple
7 7

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

  
12
run:
12
run: tests_msimple
13 13
	-./tests_msimple
14 14

  
15 15
clean:
......
25 25
	@rm -vf tests_msimple
26 26
	@rm -vf msimple.eva
27 27
	@rm -vf admodel.hes
28
	@rm -vf admodel.dep
28 29
	@rm -vf msimple.par
29 30
	@rm -vf msimple.cor
30 31
	@rm -vf admodel.cov

Also available in: Unified diff