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