bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: possible bug in 3.79.1 on irix6.5 ? works okay with IBM power4, same


From: Paul D. Smith
Subject: Re: possible bug in 3.79.1 on irix6.5 ? works okay with IBM power4, same version of gmake
Date: Fri, 13 Sep 2002 18:07:43 -0400

%% Nils Wedi <address@hidden> writes:

  nw> You are absolutely right, gmake *IS* case sensitive. Your
  nw> suggestion does not work, though, since the compiler afterall
  nw> needs uppercase modules.

Ah.  You didn't say the compiler needed them to be uppercase.

  nw> However, I see the problem now, but I do not know a clever
  nw> implementation of it. Perhaps you have an idea ?

Nope.

You have no choice but to write out all your target/prerequisite
patterns explicitly, or at least get make to create them for you
dynamically using includes and auto-re-exec.

  nw> If I hardcode the following implicit rule it works:

  nw> yomobset.o YOMOBSET.mod : yomobset.F90
  nw>        @compile .....

Note that does not mean at all the same thing.  This rule is identical
to writing:

 yomobset.o : yomobset.F90
        @compile .....
 YOMOBSET.mod : yomobset.F90
        @compile .....

  nw> so what I need is implicit rules of the form:

  nw> %.o uppercase(%).mod : %.F90
  nw>        @compile .....
  nw> %.o lowercase(%).mod : %.F90
  nw>        @compile .....

  nw> How do I achieve this ?

You cannot.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]