Revision 1005

tags/admb-10.1/Makefile (revision 1005)
1
mingw:
2
	make --directory=src --file=mingw.mak
3

  
4
mingw-verify:
5
	make --directory=src --file=mingw.mak verify
6

  
7
bcc:
8
	make --directory=src --file=bcc.mak
9

  
10
vc:
11
	cd src& nmake /f vc.mak
12

  
13
vc-verify:
14
	cd src& nmake /f vc.mak verify
15

  
16
sunstudio:
17
	ARCH_CXXFLAGS=-m32 make --directory=src --file=sunstudio.mak
18

  
19
sunstudio-64bit:
20
	ARCH_CXXFLAGS=-m64 make --directory=src --file=sunstudio.mak dist-64bit
21

  
22
sunstudio-verify:
23
	make --directory=src --file=sunstudio.mak verify
24

  
25
icc:
26
	make --directory=src --file=icc.mak
27

  
28
icc-verify:
29
	make --directory=src --file=icc.mak verify
30

  
31
linux:
32
	make --directory=src --file=linux.mak
33

  
34
linux-64bit:
35
	CXXFLAGS=-m64 make --directory=src --file=linux.mak dist-64bit
36

  
37
linux-verify:
38
	make --directory=src --file=linux.mak verify
39

  
40
clean:
41
	rm -rvf build
tags/admb-10.1/examples/autodif/io_examp/Makefile (revision 1005)
1
PROG_NAME=io_examp
2

  
3
run: $(PROG_NAME)
4
	@./$(PROG_NAME)
5

  
6
$(PROG_NAME):
7
	@printf "Compiling executable ...";$(ADMB_HOME)/bin/mygcco $@
8

  
9
clean:
10
	@rm -vf $(PROG_NAME) file1.tmp  file2.tmp
tags/admb-10.1/examples/autodif/io_examp/io_examp.cpp (revision 1005)
1
/**
2
 * Copyright (c) 2008, 2009, 2010 Regents of the University of California
3
 * 
4
 * ADModelbuilder and associated libraries and documentations are
5
 * provided under the general terms of the "BSD" license.
6
 * 
7
 * License:
8
 * 
9
 * Redistribution and use in source and binary forms, with or without
10
 * modification, are permitted provided that the following conditions are
11
 * met:
12
 * 
13
 * 1. Redistributions of source code must retain the above copyright
14
 * notice, this list of conditions and the following disclaimer.
15
 * 
16
 * 2.  Redistributions in binary form must reproduce the above copyright
17
 * notice, this list of conditions and the following disclaimer in the
18
 * documentation and/or other materials provided with the distribution.
19
 * 
20
 * 3.  Neither the name of the  University of California, Otter Research,
21
 * nor the ADMB Foundation nor the names of its contributors may be used
22
 * to endorse or promote products derived from this software without
23
 * specific prior written permission.
24
 * 
25
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
27
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
28
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
29
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
30
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
33
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff