Revision 993 trunk/src/GNUmakefile

GNUmakefile (revision 993)
4 4
  DISK=..\build\dist
5 5
  LIBPATH=..\build\objects\dist
6 6
  CXXFLAGS_INCLUDES:=-I..\${DISK}\include
7
  PWD=$(shell cd)
7 8
  ifndef MINGW_HOME
8 9
    PATH:=..\..\utilities\mingw\bin:$(PATH)
9 10
    AR=..\utilities\mingw\bin\ar
......
13 14
  DISK=../build/dist
14 15
  LIBPATH=../build/objects/dist
15 16
  CXXFLAGS_INCLUDES:=-I../${DISK}/include
17
  PWD=$(shell pwd)
16 18
endif
17 19

  
18
ifndef INSTALL_DIR
19
INSTALL_DIR=/usr/local/admb
20
endif
21

  
22
ifneq ($(SHELL),sh.exe)
23
PWD=$(shell pwd)
24
else
25
PWD=$(shell cd)
26
endif
27

  
28 20
ifeq ($(CXX),CC)
29 21
CXXFLAGS:=-D__GNUDOS__ -Dlinux -D__SPDLL__ -DUSE_LAPLACE $(CXXFLAGS)
30 22
else
......
52 44
	cp -R ../docs ${DISK} 
53 45
	cp -R ../examples ${DISK}
54 46
	cp -R ../src ${DISK}
47
	cp -R ../scripts ${DISK}
55 48
	cp -R ../tests ${DISK}
56 49
	cp -R ../utilities ${DISK}
57 50
	cp -f ../LICENSE.txt ${DISK}
......
71 64
	xcopy ..\examples $(DISK)\examples /S
72 65
	md ${DISK}\src
73 66
	xcopy ..\src $(DISK)\src /S
67
	md ${DISK}\scripts
68
	xcopy ..\scripts $(DISK)\scripts /S
74 69
	md ${DISK}\tests
75 70
	xcopy ..\tests $(DISK)\tests /S
76 71
	md ${DISK}\utilities
......
284 279
	@rm -f df1b2-separable/lex.yy.c
285 280
	@rm -f nh99/tpl2cpp
286 281
	@rm -f df1b2-separable/tpl2rem
287
	@rm -vf nh99/tpl2cpp.c
288
	@rm -vf df1b2-separable/tpl2rem.c
289
	@rm -rvf ../build
282
	@rm -f nh99/tpl2cpp.c
283
	@rm -f df1b2-separable/tpl2rem.c
284
	@rm -rf ../build
290 285
	@$(MAKE) --directory=../contrib clean
291 286
	@$(MAKE) --directory=../tests clean
292 287
	@rm -f ../admb
293 288
else
294 289
	if exist build rd /S /Q ..\build
290
	if exist ..\admb.bat del ..\admb.bat
295 291
endif

Also available in: Unified diff