Statistics
| Revision:

root / trunk / contrib / src / GNUmakefile @ 1389

History | View | Annotate | Download (965 Bytes)

1
all: $(PREFIX_OBJ)contrib.obj
2

    
3
$(PREFIX_OBJ)%.obj: %.cpp
4
ifeq ($(SHELL),sh.exe)
5
	..\..\admb -c $(OPTION) $<
6
	copy $(basename $<).obj $@
7
else
8
	../../admb -c $(OPTION) $<
9
	cp $(basename $<).obj $@
10
endif
11

    
12
test:
13
	..\..\admb $(OPTION) simple.tpl
14

    
15
clean:
16
ifeq ($(SHELL),sh.exe)
17
	del contrib.obj
18
	del contrib.o
19
	del simple.obj
20
	del simple.o
21
	del simple.std
22
	del simple.htp
23
	del admodel.hes
24
	del variance
25
	del simple
26
	del simple.exe
27
	del admodel.cov
28
	del simple.bar
29
	del eigv.rpt
30
	del simple.eva
31
	del fmin.log
32
	del simple.log
33
	del simple.cpp
34
	del simple.par
35
	del simple.cor
36
	del admodel.dep
37
else
38
	@rm -f contrib.obj
39
	@rm -f contrib.o
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