Makefile using external library with "USE"

From: Mathieu Fregeau (mathieu.fregeau_at_polymtl.ca)
Date: 10/26/03


Date: Sun, 26 Oct 2003 18:51:07 GMT

Hi,

I am now compiling a Fortran code and one of the subroutines uses a standard
lib as follow (remember the ! is for comment):

SUBROUTINE mysub()
USE DFLIB !the library I am using
... !(declarations goes here)
GETFILEINFOQQ(...) ! a function that is under the DFLIB library
...
END

so, how to specify in the Makefile to use the DFLIB???

Great thanks

Mat



Relevant Pages

  • another Makefile question - Fortran
    ... I am now compiling a Fortran code and one of the subroutines uses a standard ... lib as follow (remember the! ... SUBROUTINE mysub() ... USE DFLIB!the library I am using ...
    (comp.unix.programmer)
  • Re: Makefile using external library with "USE"
    ... > I am now compiling a Fortran code and one of the subroutines uses a standard ... > SUBROUTINE mysub() ... how to specify in the Makefile to use the DFLIB??? ... There are a number of strategies for fixing makefiles. ...
    (comp.lang.fortran)
  • Re: another Makefile question - Fortran
    ... > I am now compiling a Fortran code and one of the subroutines uses a standard ... > SUBROUTINE mysub() ... how to specify in the Makefile to use the DFLIB??? ... pgm: pgm.o dflib.o ...
    (comp.unix.programmer)
  • compiling Fortran code with standard DFLIB Library
    ... How to specify at compilation that I want to use a standard Fortran Library? ... USE DFLIB ...
    (comp.lang.fortran)