[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: $(OBJEXT) equivalent for .lo files?
From: |
Eric Blake |
Subject: |
Re: $(OBJEXT) equivalent for .lo files? |
Date: |
Tue, 16 Apr 2013 09:03:17 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130402 Thunderbird/17.0.5 |
On 04/16/2013 07:55 AM, Rhys Ulerich wrote:
> Hi all,
>
> Explicit dependencies look like
> foo.$(OBJEXT) : $(srcdir)/foo.F90 bar.$(OBJEXT)
> where $(OBJEXT) serves to insulate one from whether or not the suffix
> is .o for an object file.
$(OBJEXT) is .o on Unixy systems, but .obj on some other platforms.
>
> What's the $(OBJEXT) equivalent for a .lo file? I'm providing
> explicit dependencies for some Fortran files and need to express
> things like
> foo.lo : $(srcdir)/foo.F90 bar.lo
>
> Or, is the .lo extension guaranteed across platforms?
.lo, on the other hand, is platform independent, so it needs no variable
wrapper.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature