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

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

  
3
all: clean tests_msimple
3
all: tests_msimple
4 4

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

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

  
12
run:
12 13
	-./tests_msimple
13 14

  
14 15
clean:

Also available in: Unified diff