DESCRIPTION
FGEN - makefile generator (for GNU make) fortran 77/90 code
This script scans a set of given directories (srcdirs, libdirs and
incdirs) for files which have the following suffixes: .f .F .c .f90 .F90 .h
Then create:
- Makefiles (in each srcdirs and libdirs) and 2 auxillary files containing
a list of objects and a list of dependency rules (in srcdirs, libdirs
and incdirs). FGEN assume that no object file will be created in
incdirs.
or
- Dependencies. FGEN can update automatically the 2 auxillary files
described above.
FGEN can also be configured:
- name of compilers and linkers, debugging, profiling and optimized flags,
additionnal libs at linking and colors for several keywords for the
hypertext translation.
F2HTML html source converter for fortran 77/90 code
- Hypertext equivalent (HTML) of fortran 77/90 source files. The result is
best viewed with a browser supporting frames.
EXEMPLE
- Configuration of fgen (file ~/.fgenrc_alt)
$> fgen -c -f ~/.fgenrc_alt
- Your project is divided in 2 directories: a library (./lib) and the
core program (./src). To create the makefiles:
$> fgen -m -s ./src -l ./lib
REQUIREMENTS
Perl v5.000 or higher is required to run FGEN. (only tested with 5.003)
FGEN produce makefiles that are only suitable for the GNU make program.
This later is available on a wide range of platforms (Linux, Solaris,
Unicos, ...) and some of its features are really cool. Shouldn't be a
problem so far.