Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (23 sloc) 952 Bytes

Heroku buildpack: FORTRAN-77

This is a Heroku buildpack for FORTRAN-77 apps. Apps need to be compiled using the included f2c FORTRAN to C tranlator. It uses Make.


Example usage:

$ ls
Makefile myapp.f

$ heroku create --stack cedar --buildpack

$ git push heroku master
-----> Heroku receiving push
-----> Fetching custom buildpack
-----> f77 app detected
-----> Fetching f2c binaries
-----> Setting up build environment
-----> Compiling with Make
       f2c myapp.f
       gcc -o myapp myapp.c -lf2c

The buildpack will detect your app as FORTRAN-77 if it has the file Makefile in the root. It will then run make to compile the app (see examples/Makefile for a template).