Revision 1185

branches/threaded2merge/tests/threads/mforest/GNUmakefile (revision 1185)
1
all: run
2

  
1 3
mforest: mforest.tpl
2
	ls -al ../../../admb
3
	PATH=../../../build/dist/bin:$(PATH) CXXFLAGS=-pthread LDFLAGS=-pthread admb -g mforest
4
	../../../admb -g mforest
4 5

  
5
run:
6
run: mforest
6 7
	-./mforest
7 8

  
8 9
clean:
9 10
	@rm -vf mforest
10 11
	@rm -vf variance
11
	@rm -vf log_slave_1
12
	@rm -vf log_slave_2
13 12
	@rm -vf log_master
14
	@rm -vf log_slave_3
15
	@rm -vf log_slave_4
16 13
	@rm -vf eigv.rpt
17
	@rm -vf log_slave_5
18 14
	@rm -vf mforest.log
19 15
	@rm -vf log_slave_6
20 16
	@rm -vf mforest.cpp
21
	@rm -vf log_slave_7
22
	@rm -vf log_slave_8
23
	@rm -vf log_slave_9
24 17
	@rm -vf fmin.log
25 18
	@rm -vf mforest.htp
26
	@rm -vf log_slave_10
27
	@rm -vf log_slave_11
28
	@rm -vf log_slave_12
29
	@rm -vf log_slave_13
19
	@rm -vf log_slave_*
20
	@rm -vf admodel.dep
21
	@rm -vf admodel.hes
22
	@rm -vf mforest.b01
23
	@rm -vf mforest.bar
24
	@rm -vf mforest.p01
25
	@rm -vf mforest.par
26
	@rm -vf mforest.r01
27
	@rm -vf mforest.rep
28
	@rm -vf *.o
branches/threaded2merge/tests/threads/msimple/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
branches/threaded2merge/tests/threads/mexample/GNUmakefile (revision 1185)
1
all: run
1 2
mexample: mexample.tpl
2
	PATH=../../../build/dist/bin:$(PATH) CXXFLAGS=-pthread LDFLAGS=-pthread admb -g mexample
3
	../../../admb -g mexample
3 4

  
4
run:
5
run: mexample
5 6
	-./mexample
6 7

  
7 8
clean:
......
18 19
	@rm -vf mexample
19 20
	@rm -vf fmin.log
20 21
	@rm -vf gradfil1.tmp
22
	@rm -vf admodel.dep
23
	@rm -vf admodel.hes
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff