Revision 1441 trunk/src/GNUmakefile

GNUmakefile (revision 1441)
104 104
all: dist
105 105
ifeq ($(SHELL),cmd)
106 106
	-svnversion .. > ${DIST}\REVISION
107
	xcopy ..\utilities $(DIST)\utilities /S /Y /D
108
	if not exist ${DIST}\src md ${DIST}\src
107 109
else
108 110
	-svnversion .. > ${DIST}/REVISION
109 111
	touch $(DIST)/include/contrib.h
112
	cp -vR ../utilities ${DIST}
110 113
endif
111 114
	@echo ADMB build completed.
112 115
	@echo Check README.txt for usage and installation information.
......
342 345

  
343 346
clean:
344 347
ifeq ($(SHELL),cmd)
345
	if exist ..\build rd /S /Q ..\build
346 348
	if exist ..\admb del ..\admb
347 349
	if exist ..\admb.bat del ..\admb.bat
348 350
	if exist ..\admb.cmd del ..\admb.cmd
......
352 354
	if exist nh99\tpl2cpp.c del nh99\tpl2cpp.c
353 355
	if exist df1b2-separable\lex.yy.c del df1b2-separable\lex.yy.c
354 356
	if exist df1b2-separable\tpl2rem.c del df1b2-separable\tpl2rem.c
357
	if exist ..\build rd /S /Q ..\build
355 358
else
356 359
	@rm -vf ../admb
357 360
	@rm -vf ../admb.bat
......
376 379

  
377 380
copy:
378 381
ifeq ($(SHELL),cmd)
382
	xcopy ..\utilities $(DIST)\utilities /S /Y /D
379 383
	if not exist ${DIST}\src md ${DIST}\src
384
	if not exist ${DIST}\src md ${DIST}\src
380 385
	xcopy ..\src $(DIST)\src /S /Y /D
381 386
	if not exist ${DIST}\utilities md ${DIST}\utilities
382
	xcopy ..\utilities $(DIST)\utilities /S /Y /D
383
	if not exist ${DIST}\src md ${DIST}\src
384 387
	xcopy ..\scripts $(DIST)\scripts /S /Y /D
385 388
else
389
	cp -vR ../utilities ${DIST}
386 390
	cp -R ../src ${DIST}
387
	cp -vR ../utilities ${DIST}
388 391
	cp -R ../scripts ${DIST}
389 392
endif

Also available in: Unified diff