Revision 1510 trunk/tests/dll/Makefile

Makefile (revision 1510)
1
all: testdll.exe
1
all: simple.dll
2 2

  
3 3
run:
4
	testdll.exe
4
	Rscript simple.r
5 5

  
6 6
testdll.exe: main.obj simple.dll example.dll
7 7
	$(CXX) -o $@ main.obj simple.dll example.dll
8 8

  
9
simple.dll: simple.obj
10
	..\..\admb -d $^
9
simple.dll: simple.tpl
10
	..\..\admb -d simple.tpl
11 11

  
12
simple.obj:
13
	copy ..\..\examples\admb\simple\simple.tpl
14
	copy ..\..\examples\admb\simple\simple.dat
15
	..\..\admb -c -d simple.tpl
16

  
17 12
main.obj: main.cpp
18 13
	$(CXX) -c -o $@ $^
19 14

  

Also available in: Unified diff