Statistics
| Revision:

root / branches / threaded2merge / tests / threads / msimple / GNUmakefile @ 1180

History | View | Annotate | Download (777 Bytes)

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

    
3
all: tests_msimple
4

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

    
8
tests_msimple: msimple.cpp tests_msimple.cpp
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
11

    
12
run:
13
	-./tests_msimple
14

    
15
clean:
16
	@rm -vf msimple.log
17
	@rm -vf msimple.cpp
18
	@rm -vf variance
19
	@rm -vf log_slave_*
20
	@rm -vf log_master
21
	@rm -vf eigv.rpt
22
	@rm -vf msimple.htp
23
	@rm -vf msimple
24
	@rm -vf fmin.log
25
	@rm -vf tests_msimple
26
	@rm -vf msimple.eva
27
	@rm -vf admodel.hes
28
	@rm -vf msimple.par
29
	@rm -vf msimple.cor
30
	@rm -vf admodel.cov
31
	@rm -vf msimple.rep
32
	@rm -vf msimple.std
33
	@rm -vf msimple.bar
34
	@rm -vf *.o