blob: 41ac28ee51f9f1b85bcdd2f156e67d5f352ea68c [file] [log] [blame]
# ============================================================================
# Name : Makefile
# Author : {{author}}
# Version :
# Copyright : {{copyright}}
# Description : Makefile for Hello World in Fortran
# ============================================================================
.PHONY: all clean
# Change this line if you are using a different Fortran compiler
FORTRAN_COMPILER = gfortran
all: {{sourceDir}}/{{baseName}}.f90
$(FORTRAN_COMPILER) -O2 -g \
-o {{binDir}}/{{baseName}}{{exe}} \
{{sourceDir}}/{{baseName}}.f90
clean:
rm -f {{binDir}}/{{baseName}}{{exe}} *.mod