From owner-freebsd-questions Mon Feb 1 15:19:28 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA03343 for freebsd-questions-outgoing; Mon, 1 Feb 1999 15:19:28 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA03334 for ; Mon, 1 Feb 1999 15:19:25 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id JAA20339; Tue, 2 Feb 1999 09:49:21 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.2/8.9.0) id JAA73816; Tue, 2 Feb 1999 09:49:16 +1030 (CST) Date: Tue, 2 Feb 1999 09:49:16 +1030 From: Greg Lehey To: Kent Stewart Cc: "freebsd-questions@FreeBSD.org" Subject: Re: Make File Generator Message-ID: <19990202094916.R71384@freebie.lemis.com> References: <36B5FF82.D89176C1@3-cities.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <36B5FF82.D89176C1@3-cities.com>; from Kent Stewart on Mon, Feb 01, 1999 at 11:24:50AM -0800 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 1 February 1999 at 11:24:50 -0800, Kent Stewart wrote: > On most of the Unix systems I have used there is a make generator for > Fortran. I don't see such a product on FreeBSD for f77. I have a large > program, i.e., more than 300 modules, that was last used on a Cray. The > sources as provided do not contain a makefile. I would like to try and build > it on FreeBSD but would hate to have to create the makefile by hand . > Is there something like mkmf that will generate a makefile. Not that I know of. Have you tried gmake? It knows about Fortran programs. You probably need very little to make a usable Makefile. For example, if you create a single executable out of your 300 .f programs, you might do: $ ls *.f | xargs | sed 's/^/PROG: /' > Makefile Substitute the name of your program for PROG. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message