| 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 ' ' |