12.07.2015 Views

LF95 Linux User's Guide - Lahey Computer Systems

LF95 Linux User's Guide - Lahey Computer Systems

LF95 Linux User's Guide - Lahey Computer Systems

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 6 Automake (PRO version only)able, it will probably be possible to use the system default configuration file. In that case thereis no need for any customization of AUTOMAKE— just type am to update both your programand the dependency file.In other cases, you may wish to change the default compiler name or options, add a speciallink command, or change the INCLUDE file search rule; this can be achieved by customizinga local copy of the AUTOMAKE configuration file. More complex systems, perhaps involvingsource code spread across several directories, can also be handled in this way.What Can Go Wrong?Not much. AUTOMAKE is very forgiving. For example, you can mix manual and AUTO-MAKE controlled updates without any ill effects. You can even delete the dependency filewithout causing more than a pause while AUTOMAKE regenerates the dependency data. Infact, this is the recommended procedure if you do manage to get into a knot.Running AUTOMAKETo run AUTOMAKE, simply type am. If there is a configuration file (AUTOMAKE.FIG) inthe current directory, AUTOMAKE reads it.The AUTOMAKE Configuration FileThe AUTOMAKE configuration file is used to specify the compile and link procedures, andother details required by AUTOMAKE. It consists of a series of records of the formorkeyword=valuekeywordwhere keyword is an alphanumeric keyword name, and value is the string of charactersassigned to the keyword. The keyword name may be preceded by spaces if required. Anyrecord with a '#', '!' or '*' as the first non-blank character is treated as a comment.The keywords that may be inserted in the configuration file are:LF64Equivalent to specifying the default LF64 compile and link commands.COMPILE=lfc -c %fi --mod %moLINK=lfc %ob -o %ex --mod %moThe LF64 keyword should appear in any automake.fig file that is to be used with LF64.112 <strong>Lahey</strong>/Fujitsu <strong>Linux</strong>64 Fortran User’s <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!