Last change
on this file was
1907,
checked in by lguez, 11 years ago
|
Added a copyright property to every file of the distribution, except
for the fcm files (which have their own copyright). Use svn propget on
a file to see the copyright. For instance:
$ svn propget copyright libf/phylmd/physiq.F90
Name of program: LMDZ
Creation date: 1984
Version: LMDZ5
License: CeCILL version 2
Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
See the license file in the root directory
Also added the files defining the CeCILL version 2 license, in French
and English, at the top of the LMDZ tree.
|
-
Property copyright set to
Name of program: LMDZ Creation date: 1984 Version: LMDZ5 License: CeCILL version 2 Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539 See the license file in the root directory
|
File size:
963 bytes
|
Line | |
---|
1 | # This is a makefile for GNU make. |
---|
2 | # This makefile builds the NR_util library. |
---|
3 | |
---|
4 | # 1. Source files |
---|
5 | |
---|
6 | sources := $(sort nrtype.f90 nr_util.f90 iminloc.f90 arth.f90 array_copy.f90 swap.f90 reallocate.f90 imaxloc.f90 assert.f90 assert_eq.f90 geop.f90 cumsum.f90 poly.f90 poly_term.f90 outerprod.f90 outerdiff.f90 scatter_add.f90 scatter_max.f90 diagadd.f90 diagmult.f90 get_diag.f90 put_diag.f90 cumprod.f90 ifirstloc.f90 lower_triangle.f90 nrerror.f90 outerand.f90 outerdiv.f90 outersum.f90 unit_matrix.f90 upper_triangle.f90 vabs.f90 zroots_unity.f90) |
---|
7 | |
---|
8 | # 2. Objects and library |
---|
9 | |
---|
10 | objects := $(sources:.f90=.o) |
---|
11 | lib = libnr_util.a |
---|
12 | |
---|
13 | # 3. Rules |
---|
14 | |
---|
15 | # Extend known suffixes: |
---|
16 | %.o: %.f90 |
---|
17 | $(COMPILE.f) $(OUTPUT_OPTION) $< |
---|
18 | |
---|
19 | .PHONY: all clean depend |
---|
20 | |
---|
21 | all: ${lib} |
---|
22 | |
---|
23 | ${lib}: ${lib}(${objects}) |
---|
24 | |
---|
25 | depend depend.mk: |
---|
26 | makedepf90 -Wmissing -Wconfused -nosrc ${sources} >depend.mk |
---|
27 | |
---|
28 | clean: |
---|
29 | rm -f ${lib} ${objects} |
---|
30 | |
---|
31 | # Dependencies between object files and include files: |
---|
32 | include depend.mk |
---|
Note: See
TracBrowser
for help on using the repository browser.