HDF5 Fortran compilation under Windows

Dear All,

I am new to the HDF5 format and would like to play with it a bit. After
reading some of the basic information and tutorials I am still unable to
compile it with my programs under Windows. I have a MinGW gfortran
installed on my computer and I usually compile all my program as:

gfortran -o name *.f90

The questions are: (1) how should I modify this entry to compile using
external HDF5 libraries; (2) which external library files should exactly be
included. I would like to keep the compilation procedure and any
installations as simple as possible.

Thank you very much in advance. Forgive me if the questions are primitive.

Regards,

Radek