Previous: Name List Macros Up: Valid vimake Commands Next: Languages Used Macros
Main Language Macros
- MAIN_LANG_C - This flag, if defined, says that the main program is
written in C. It is valid only for type PROGRAM. The main program is defined
as the main44() subroutine for most VICAR programs, or main() if
the program doesn't use the standard VICAR startup routines. For programs,
one and only one of MAIN_LANG_C and MAIN_LANG_FORTRAN must be defined.
Use MAIN_LANG_C for both K&R C and ANSI C.
- MAIN_LANG_FORTRAN - This flag, if defined, says that the main program
is written in Fortran. It is valid only for type PROGRAM. The main program
is defined as the main44 subroutine for most VICAR programs, or the
main subroutine if the program doesn't use the standard VICAR startup
routines. For programs, one and only one of MAIN_LANG_C and
MAIN_LANG_FORTRAN must be defined.