Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 708 Bytes

README.md

File metadata and controls

53 lines (37 loc) · 708 Bytes

Fortran, FRUIT and Make

Prerequisites

gfortran:

To check if gfortran is installed already:

$ gfortran -v
gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) 

FRUIT test framework:

This is provided.

Usage

Compile:

$ make fibonacci

Run:

$ ./fibonacci 30
fibonacci(          30 ) =       832040

Compile and run tests and view XML xUnit-style test report:

$ make test
$ cat result.xml

Clean up:

$ make clean