Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-spam!wohler From: wohler@sri-spam.istc.sri.com (Bill Wohler) Newsgroups: comp.sources.d Subject: Re: MAKEMAKE - a Modula2 prog to generate MAKEFILEs. Message-ID: <9815@sri-spam.istc.sri.com> Date: Thu, 8-Jan-87 17:32:26 EST Article-I.D.: sri-spam.9815 Posted: Thu Jan 8 17:32:26 1987 Date-Received: Thu, 8-Jan-87 23:40:01 EST References: <2855@gitpyr.gatech.EDU> Reply-To: wohler@sri-spam.UUCP (Bill Wohler) Followup-To: net.sources.d Organization: SRI International, Menlo Park Lines: 18 Keywords: MODULA2 MAKE MAKEFILEs In article <2855@gitpyr.gatech.EDU> tynor@gitpyr.gatech.EDU (Steve Tynor) writes: > >Here's a Modula2 program to generate a MAKFILE for a collection of Modula2 >modules. It was written in TDI Modula2 (on the Atari ST) but should easily >port to other compilers. look also for the mkmf(1) program that is available on 4.3BSD and probably elsewhere as well. mkmf is an excellent program which enforces good software development style, works for all types of sources (c, lex, yacc, pascal, etc.) and is easily modifyable to interpret even modula source files. in addition, it performs the "make depend" function that you often see in Makefiles as a long painful awk script. it uses the Makefile format documented in Nicklin and Mosher's [1983] paper. --bw