[Tfug] Re: changing GNU make

Curtis Cooper tfug@tfug.org
Fri Jul 12 12:51:01 2002


> Message: 6
> Date: Thu, 11 Jul 2002 22:13:29 -0700 (MST)
> From: Andre Lehovich <andrel@U.Arizona.EDU>
> To: <tfug@tfug.org>
> Subject: Re: [Tfug] Changing default suffix rules for "make"
> Reply-To: tfug@tfug.org
> 
> On Thu, 11 Jul 2002, Curtis Cooper wrote:
> > I tried editing the file /usr/share/mk/sys.mk to add the new suffix
> > rules for the .f90 extension, but it didn't seem to change make's
> > behavior.  I'm running GNU Make on Redhat Linux 7.2.  Any advice
> > would be appreciated.
> 
> You're editing the configuration file for BSD pmake, so it's
> no wonder you're not changing the behavior of GNU make.
> Aren't GNU make's internal rules hardwired?
> 
> --Andre

Andre,

Thanks a lot!  I actually realized last night that I was editing 
the file for BSD make but that the edit would have no effect on GNU 
make's behavior.  What I was really hoping to get is the location 
of the analagous file one can use to alter GNU make, but since you 
say it's hardwired, I guess that settles it.  What I'm trying to do 
doesn't seem possible, but as you said, I can just create a 
Makefile for my projects which define the correct pattern rules, 
etc., to correctly compile Fortran 90.  Thanks again!

Cheers,
Curtis