I assume you alread have the problem fixed. In that case, please junk
this suggestion.
>
> Good Afternoon,
>
> Here comme the message:
>
> make: *** No rule to make target `disper2.o', needed by `ut'. Stop.
It looks like what would be produced if one did not include .f90 in the
".SUFFIXES" rule or put it in a wrong order.
An inference rule will not work if the file suffixes used by the
inference rule are not declared by a .SUFFIXES rule.
In fact, your make() seems producing a bit more information than many
other make() implementation.
Hope this helps (if you still need it).
Jing
>
>
>
> In my make I did precise the rules:
>
> .f.o:
> f90 $(LFFLAGS) -c $(FFLAGS) -o $@ $*.f
>
> .f90.o:
> f90 $(LFFLAGS) -c $(FFLAGS) -o $@ $*.f90
>
>
> it works for all the .f (first rule) but non for disper2.f90 (second
> rule).
> It is the same error message if I call it .o or .o90
>
> I am now as in my first message.
>
> Jean-Yves
>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|