Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!ames!fxgrp!ljz From: ljz@fxgrp.UUCP (Lloyd Zusman, Master Byte Software) Newsgroups: comp.lang.c Subject: Re: Makefile Maker Message-ID: <190@fxgrp.UUCP> Date: 24 Dec 87 00:27:05 GMT References: <176@goofy.megatest.UUCP> Reply-To: fxgrp!ljz@ames.arpa (Lloyd Zusman, Master Byte Software) Followup-To: <176@goofy.megatest.UUCP> djones@megatest.UUCP (Dave Jones) Organization: FX Development Group, Inc., Mountain View, CA Lines: 33 Keywords: make Makefile In article <176@goofy.megatest.UUCP> djones@megatest.UUCP (Dave Jones) writes: >The problem with make -- well ONE of the problems with make -- is that it >requires the user to specify the dependencies. What you really want >is something that keeps up with the dependencies automatically as they >change. > ... >We will need a program which removes dependency spec's from a Makefile, >and one which creates new dependency spec's. > ... There already is a program that lets you do this. It is called "mkmf" and I have mentioned it in an earlier posting. I have determined that it indeed is in the public domain. After mentioning it here I got such an overwhelming number of requests for it that yesterday I mailed it to the moderators of comp.sources.misc and comp.sources.unix ... I'm hoping it will be posted in one or the other of these newsgroups in the near future. This program takes a makefile as input and produces a new one as output. It automatically recalculates all the dependencies every time it is run, removes the old dependencies from the makefile, and writes the new ones therein. We use it that way here at our installation and we are quite pleased with it. Look for it soon in comp.sources.unix or comp.sources.misc. ------------------------------------------------------------------------- Lloyd Zusman Master Byte Software Los Gatos, California Internet: fxgrp!ljz@ames.arpa "We take things well in hand." UUCP: ...!ames!fxgrp!ljz