Revision 1430

trunk/src/GNUmakefile (revision 1430)
133 133

  
134 134
dist: libs bins docs
135 135
ifeq ($(SHELL),sh.exe)
136
	if not exist ${DIST}\examples md ${DIST}\examples
137
	xcopy ..\examples $(DIST)\examples /S /Y /D
136 138
	copy /Y ..\LICENSE.txt ${DIST}
137 139
	copy /Y ..\README.txt ${DIST}
138 140
	copy /Y ..\CHANGES.txt ${DIST}
139 141
	copy /Y ..\VERSION ${DIST}
140 142
	copy /Y ..\Makefile ${DIST}
141 143
else
144
	cp -R ../examples ${DIST}
142 145
	cp -f ../LICENSE.txt ${DIST}
143 146
	cp -f ../README.txt ${DIST}
144 147
	cp -f ../CHANGES.txt ${DIST}
......
152 155
	xcopy ..\contrib $(DIST)\contrib /S /Y /D
153 156
	if not exist ${DIST}\docs md ${DIST}\docs
154 157
	xcopy ..\docs $(DIST)\docs /S /Y /D
155
	if not exist ${DIST}\examples md ${DIST}\examples
156
	xcopy ..\examples $(DIST)\examples /S /Y /D
157 158
	if not exist ${DIST}\src md ${DIST}\src
158 159
	xcopy ..\src $(DIST)\src /S /Y /D
159 160
	if not exist ${DIST}\scripts md ${DIST}\scripts
......
165 166
else
166 167
	cp -R ../contrib ${DIST}
167 168
	cp -R ../docs ${DIST} 
168
	cp -R ../examples ${DIST}
169 169
	cp -R ../src ${DIST}
170 170
	cp -R ../scripts ${DIST}
171 171
	cp -R ../tests ${DIST}
trunk/examples/GNUmakefile (revision 1430)
1
ADMB_HOME=$(shell cd .. && pwd)/
1
ADMB_HOME=$(shell cd .. && pwd)
2 2

  
3 3
ifeq ($(OS),Windows_NT)
4 4
EXT=.sh
......
40 40

  
41 41
buscycle: ham4 ham5
42 42
ham4:
43
	pushd admb/buscycle && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@ -version && $(PROG) ./$@
43
	pushd admb/buscycle && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@ -version && $(PROG) ./$@
44 44

  
45 45
ham5:
46
	pushd admb/buscycle && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
46
	pushd admb/buscycle && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
47 47

  
48 48
catage:
49
	pushd admb/$@ && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
49
	pushd admb/$@ && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
50 50

  
51 51
chem-eng:
52
	pushd admb/$@ && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
52
	pushd admb/$@ && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
53 53

  
54 54
finance:
55
	pushd admb/$@ && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
55
	pushd admb/$@ && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
56 56

  
57 57
forest:
58
	-pushd admb/$@ && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
58
	-pushd admb/$@ && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
59 59

  
60 60
pella-t:
61
	pushd admb/$@ && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
61
	pushd admb/$@ && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
62 62

  
63 63
robreg: vonb vonbr
64 64
vonb:
65
	pushd admb/robreg && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
65
	pushd admb/robreg && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
66 66

  
67 67
vonbr:
68
	pushd admb/robreg && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
68
	pushd admb/robreg && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
69 69

  
70 70
simple:
71
	pushd admb/$@ && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
71
	pushd admb/$@ && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
72 72

  
73 73
truncreg:
74
	pushd admb/$@ && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@ -ams 2000000 && $(PROG) ./$@ -ams 2000000 -gbs 6000000 -cbs 4000000
74
	pushd admb/$@ && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@ -ams 2000000 && $(PROG) ./$@ -ams 2000000 -gbs 6000000 -cbs 4000000
75 75

  
76 76
vol: n2mvol
77 77
n2mvol:
78
	pushd admb/vol && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@ -nohess
78
	pushd admb/vol && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@ -nohess
79 79

  
80 80
admb-re:\
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff