Revision 903

trunk/src/GNUmakefile (revision 903)
3 3
DISK=../build/dist
4 4
endif
5 5

  
6
ifndef INSTALL_DIR
7
INSTALL_DIR=/usr/local/admb
8
endif
9

  
6 10
PWD=$(shell pwd)
7 11

  
8 12
ifndef LIBPATH
......
138 142
	$(MAKE) ADMB_HOME="${ADMB_HOME}" --directory=../contrib test
139 143
	$(MAKE) ADMB_HOME="${ADMB_HOME}" --directory=../tests
140 144

  
145
install:
146
ifneq ($(SHELL),sh.exe)
147
	cp -Rvf $(DISK) $(INSTALL_DIR)
148
endif
149

  
141 150
clean:
142 151
	@rm -f nh99/lex.yy.c
143 152
	@rm -f df1b2-separable/lex.yy.c
trunk/Makefile (revision 903)
4 4
contrib: $(CXX)-contrib
5 5
verify: $(CXX)-verify
6 6
test: $(CXX)-tests
7
install: $(CXX)-install
7 8
clean: $(CXX)-clean
8 9

  
9 10
installer:
......
60 61
	$(MAKE) --directory=src CC=cc CXX=CC verify
61 62
CC-tests:
62 63
	$(MAKE) --directory=src CC=cc CXX=CC tests
64
CC-install:
65
	$(MAKE) --directory=src CC=cc CXX=CC install
63 66
CC-clean:
64 67
	$(MAKE) --directory=src CC=cc CXX=CC clean
65 68

  
......
73 76
	$(MAKE) --directory=src CXX=icpc CC=icc verify
74 77
icpc-tests:
75 78
	$(MAKE) --directory=src CXX=icpc CC=icc tests
79
icpc-install:
80
	$(MAKE) --directory=src CXX=icpc CC=icc install
76 81
icpc-clean:
77 82
	$(MAKE) --directory=src CXX=icpc CC=icc clean
78 83

  
......
86 91
	$(MAKE) --directory=src CC=gcc CXX=g++ verify
87 92
g++-tests:
88 93
	$(MAKE) --directory=src CC=gcc CXX=g++ tests
94
g++-install:
95
	$(MAKE) --directory=src CC=gcc CXX=g++ install
89 96
g++-clean:
90 97
	$(MAKE) --directory=src CC=gcc CXX=g++ clean
91 98

  
......
99 106
	$(MAKE) --directory=src CC=cc CXX=c++ verify
100 107
c++-tests:
101 108
	$(MAKE) --directory=src CC=cc CXX=c++ tests
109
c++-install:
110
	$(MAKE) --directory=src CC=cc CXX=c++ install
102 111
c++-clean:
103 112
	$(MAKE) --directory=src CC=cc CXX=c++ clean

Also available in: Unified diff