Statistics
| Revision:

root / trunk / contrib / src / GNUmakefile @ 1387

History | View | Annotate | Download (973 Bytes)

1
$(PREFIX_OBJ)contrib.obj: contrib.cpp
2
ifeq ($(SHELL),sh.exe)
3
	..\..\admb -c contrib.cpp
4
	copy contrib.obj $(PREFIX_OBJ)contrib.obj
5
else
6
	../../admb -c contrib.cpp
7
	cp contrib.o $(PREFIX_OBJ)contrib.o
8
endif
9

    
10
test:
11
ifeq ($(SHELL),sh.exe)
12
	..\..\admb.cmd simple.tpl
13
	simple.exe
14
else
15
	../../admb simple.tpl
16
	./simple
17
endif
18

    
19
clean:
20
ifeq ($(SHELL),sh.exe)
21
	del simple.obj
22
	del simple.o
23
	del simple.std
24
	del simple.htp
25
	del admodel.hes
26
	del variance
27
	del simple
28
	del simple.exe
29
	del admodel.cov
30
	del simple.bar
31
	del eigv.rpt
32
	del simple.eva
33
	del fmin.log
34
	del simple.log
35
	del simple.cpp
36
	del simple.par
37
	del simple.cor
38
	del admodel.dep
39
else
40
	@rm -f simple.obj
41
	@rm -f simple.o
42
	@rm -f simple.std
43
	@rm -f simple.htp
44
	@rm -f admodel.hes
45
	@rm -f variance
46
	@rm -f simple
47
	@rm -f simple.exe
48
	@rm -f admodel.cov
49
	@rm -f simple.bar
50
	@rm -f eigv.rpt
51
	@rm -f simple.eva
52
	@rm -f fmin.log
53
	@rm -f simple.log
54
	@rm -f simple.cpp
55
	@rm -f simple.par
56
	@rm -f simple.cor
57
	@rm -f admodel.dep
58
endif