/[PAMELA software]/PamCut/Fortran/subdir.mk
ViewVC logotype

Contents of /PamCut/Fortran/subdir.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Sep 24 18:18:36 2009 UTC (15 years, 2 months ago) by pam-fi
Branch: MAIN
CVS Tags: Root_V8, MergedToHEAD_1, nuclei_reproc, MergedFromV8_1, BeforeMergingFromV8_1, V9, HEAD
Branch point for: V8
Added to repository.

1 #
2 # ************ Subdir makefile ************
3 #
4 # Author: Nicola Mori
5 #
6 # This file contains the instructions to build the files contained in this
7 # directory. It is not called directly, but it is included by the general
8 # PamCut makefile. So the paths must be relative to the position of that
9 # makefile and not to the path of this file.
10 #
11 #
12
13 # Define the name of the Fortran compiler. If set to "gcc" it will automatically call
14 # f77 (gcc 3) or gfortran (gcc 4)
15 FORTRAN=gcc
16
17 # Choose a name for the Fortran object files.
18 OBJS += ./Fortran/efficiency.o
19
20 # This compiles the Fortran code. Normally you won't need to modify this
21 ./Fortran/%.o: ./Fortran/%.f $(COMMONDEPS)
22 @echo 'Building file: $<'
23 @echo 'Invoking: GCC Fortran Compiler'
24 $(FORTRAN) $(OPTIMIZE) -c -o"$@" "$<"
25 @echo 'Finished building: $<'
26 @echo ' '

  ViewVC Help
Powered by ViewVC 1.1.23