Statistics
| Revision:

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

History | View | Annotate | Download (568 Bytes)

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

    
3
all: tests_msimple
4

    
5
msimple.cpp: msimple.tpl
6
	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_1
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