#
#   ************ Subdir makefile ************
#       
#   	Author: Nicola Mori
#     
#     	This file contains the instructions to build the files contained in this
#       directory. It is not called directly, but it is included by the general
#       PamCut makefile. So the paths must be relative to the position of that 
#				makefile and not to the path of this file.
#
# 

# Define the name of the Fortran compiler. If set to "gcc" it will automatically call
# f77 (gcc 3) or gfortran (gcc 4)
FORTRAN=gcc

# Choose a name for the Fortran object files.
OBJS += ./Fortran/efficiency.o 

# This compiles the Fortran code. Normally you won't need to modify this 
./Fortran/%.o: ./Fortran/%.f  $(COMMONDEPS)
	@echo 'Building file: $<'
	@echo 'Invoking: GCC Fortran Compiler'
	$(FORTRAN) $(OPTIMIZE) -c -o"$@" "$<"
	@echo 'Finished building: $<'
	@echo ' '