Revision 975 trunk/src/GNUmakefile

GNUmakefile (revision 975)
35 35

  
36 36
all: dist contrib
37 37
ifeq ($(SHELL),sh.exe)
38
	pushd $(DESTDIR) & cscript ..\..\scripts\create-admb-shortcut.vbs & popd
38
	pushd $(DISK) & cscript ..\..\scripts\create-admb-shortcut.vbs & popd
39 39
endif
40 40
	@echo ADMB build completed.
41 41
	@echo For installation, check README.txt.
......
81 81
ifneq ($(SHELL),sh.exe)
82 82
	mkdir -p ${DISK}/contrib/lib
83 83
	mkdir -p ${DISK}/contrib/bin
84
	mkdir -p ${DISK}/contrib/include
84 85
	$(MAKE) ADMB_HOME="${PWD}/${DISK}" --directory=../contrib
85 86
else
86 87
	if not exist ${DISK}\contrib md ${DISK}\contrib
87 88
	if not exist ${DISK}\contrib\lib md ${DISK}\contrib\lib
88 89
	if not exist ${DISK}\contrib\bin md ${DISK}\contrib\bin
90
	if not exist ${DISK}\contrib\include md ${DISK}\contrib\include
89 91
	$(MAKE) ADMB_HOME="$(CURDIR)\${DISK}" --directory=..\contrib
90 92
endif
91 93

  
......
279 281
	@rm -f df1b2-separable/lex.yy.c
280 282
	@rm -f nh99/tpl2cpp
281 283
	@rm -f df1b2-separable/tpl2rem
282
	@rm -rvf $(DISK)
283
	@rm -rvf $(LIBPATH)
284 284
	@rm -vf nh99/tpl2cpp.c
285 285
	@rm -vf df1b2-separable/tpl2rem.c
286
	@rm -rvf ../build
286 287
	@$(MAKE) --directory=../contrib clean
287 288
	@$(MAKE) --directory=../tests clean
289
	@rm -f ../admb
288 290
else
289 291
	if exist build rd /S /Q ..\build
290 292
endif

Also available in: Unified diff