Paul,
thanks very much for your reply. I am sorry I did not send you the
correct dependencies that were used on each machine.It seems infact that
gmake is *NOT* case sensitive. The precise dependencies on IRIX were
yomobset.o YOMOBSET.mod: yomobset.F90
ecset.o: YOMOBSET.mod
The files created by the compiler are YOMOBSET.mod and yomobset.o
(stupid, I know).
gmake, as you correctly hinted works okay on IRIX if I change the rules
to lowercase
yomobset.o yomobset.mod: yomobset.F90
ecset.o: yomobset.mod
However, this is problematic since the filenames of the result do not
correspond and if like in our case we sometimes want to use pre-compiled
modules (which have uppercase names). So for gmake to work with
appropriate time-stamps we would need to make always two versions of the
modules, an uppercase one for the compiler and a lowercase one for
gmake. The other option, since I can't seem to tell the compiler to
create lowercase modules, would be to change gmake to understand
uppercase rules, is there an option or switch that I need to put ?
For information, the following is from the f90 compiler manual on IRIX
if used to create make rules:
When file is specified, file is updated during compilation
to contain header, library, and run-time make(1)
dependencies for the output file.
For example, assume that file foo.f90 contains the following
two lines:
INCLUDE "bar.h"
USE mod
The updated file will contain a line similar to the
following:
foo.o : bar.h MOD.mod
Best Regards,
Nils
--
Nils Wedi
[EMAIL PROTECTED]
ECMWF (European Centre for Medium-Range Weather Forecasts)
---------------------
_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make