source: LMDZ5/trunk/tools/Max_diff_nc_with_lib/Jumble/GNUmakefile @ 5440

Last change on this file since 5440 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: 837 bytes
Line 
1# This is a makefile for GNU make.
2# This makefile builds "libjumble.a".
3
4# 1. Source files
5
6VPATH = Numerical
7
8sources := $(sort avg_mag.f90 count_lines.f90 opt_merge.f90 point.f90 compare.f90 csvread.f90 new_unit.f90 read_column.f90 jumble.f90 averge.f90 get_divisors.f90 dtridgl.f90 quadrat.f90 spherical.f90 prep_file.f90 prt_cmp.f90)
9
10# 2. Objects and library
11
12objects := $(sources:.f90=.o)
13lib = libjumble.a
14
15# 3. Compiler-dependent part
16
17override FFLAGS += -I../NR_util
18
19# 4. Rules
20
21# Extend known suffixes:
22%.o: %.f90
23        $(COMPILE.f) $(OUTPUT_OPTION) $<
24
25.PHONY: all clean depend
26
27all: ${lib}
28
29${lib}: ${lib}(${objects})
30
31depend depend.mk:
32        makedepf90 -Wmissing -Wconfused -I${VPATH} -nosrc -u nr_util ${sources} >depend.mk
33
34clean:
35        rm -f ${lib} ${objects}
36
37# Dependencies between object files and include files:
38include depend.mk
Note: See TracBrowser for help on using the repository browser.