-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathMakefile.manual
More file actions
40 lines (32 loc) · 865 Bytes
/
Makefile.manual
File metadata and controls
40 lines (32 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Modify these for your Fortran compiler:
# GFortran
F90 = gfortran
F90FLAGS = -Wall -std=f2003 -Wextra -Wimplicit-interface -fPIC
# Debug flags:
F90FLAGS += -g -fbounds-check
# Release flags:
#F90FLAGS += -O3 -march=native -ffast-math -funroll-loops
# Intel ifort
#F90 = ifort-12.0.191
#F90FLAGS = -stand f95 -warn all
# Debug flags:
#F90FLAGS += -check all
# Release flags:
#F90FLAGS += -xHOST -O3 -no-prec-div -static
# ----------------------------------------------------------------------------
export F90
export F90FLAGS
all:
cd src; make -f Makefile.manual
cd tests; make -f Makefile.manual
test:
cd tests; make -f Makefile.manual test
@echo
@echo "All tests passed."
quicktest:
cd tests; make -f Makefile.manual quicktest
@echo
@echo "All tests passed."
clean:
cd src; make -f Makefile.manual clean
cd tests; make -f Makefile.manual clean