%% Nils Wedi <[EMAIL PROTECTED]> writes:

  nw> I have got a problem where a fortran 90 module is not recompiled despite
  nw> gmake finding out that the corresponding .F90 is newer than the target.

  nw> What is the meaning of

  nw> "No commands for `YOMOBSET.mod' and no prerequisites actually changed."

It means make couldn't find any rule that described how to build
YOMOBSET.mod, and while there were prerequisites make itself didn't
actually update them (they just happened to be newer).

  nw> Any idea ?

Sure.  Remember make, like all other UNIX tools, is case-sensitive.

You have rules to build "yomobset.mod".  So, this works:

  nw> Built for powerpc-ibm-aix4.3.0.0

  nw>      Finished prerequisites of target file `yomobset.mod'.
  nw>      Prerequisite `/fdb/ea9l/lib/ifs/module/yomobset.F90' is newer than
  nw> target `yomobset.mod'.
  nw>      Prerequisite `/fdb/ea9l/lib/ifs/module/yomobset.F90' is newer than
  nw> target `yomobset.mod'.
  nw>     Must remake target `yomobset.mod'.

Because make wants to build "yomobset.mod" (lowercase) and you've
defined a rule that tells it how to do so.

But this fails:

  nw> Built for mips-sgi-irix6.5

  nw>      Finished prerequisites of target file `YOMOBSET.mod'.
  nw>      Prerequisite `/cc/rd/ifs/module/yomobset.F90' is newer than target
  nw> `YOMOBSET.mod'.
  nw>      Prerequisite `/cc/rd/ifsaux/include/tsmbkind.ok' is newer than
  nw> target `YOMOBSET.mod'.
  nw>     No commands for `YOMOBSET.mod' and no prerequisites actually
  nw> changed.

because it wants to build "YOMOBSET.mod" (uppercase) and you don't have
any rule in your makefile which describes how to do that.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to