Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site enea.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!mcvax!enea!kim From: kim@enea.UUCP (Kim Walden) Newsgroups: net.lang.c Subject: Re: make depend Message-ID: <846@enea.UUCP> Date: Mon, 25-Mar-85 16:50:45 EST Article-I.D.: enea.846 Posted: Mon Mar 25 16:50:45 1985 Date-Received: Sat, 30-Mar-85 07:18:35 EST References: <8775@brl-tgr.ARPA> <544@rlgvax.UUCP> <12416@gatech.UUCP> <563@rlgvax.UUCP> <157@azure.UUCP> Reply-To: kim@enea.UUCP (Kim Walden) Organization: ENEA DATA, Sweden Lines: 35 In article <157@azure.UUCP> jimbi@azure.UUCP (Jim Bigelow) writes: >[] >There is a command, mkmf (make makefile), in the 4.2BSD distribution, 3rd party >contibuted software, spms ( software project management system ) that creates >a new makefile from a template, if one doesn't already exist. It automatically >makes the dependancy lists. This version is not fool proof, but it DOES work >for simple and non-fancy dependancies, it's fast and simple to use. >To update a makefile for new files and dependancies just type "mkmf". > >Jim Bigelow >Tektronix Unfortunately, mkmf generates wrong dependencies, in most cases, when generated files are involved. I would hardly call standard use of yacc or lex as 'fancy' by any meaning of the word. Almost correct is not good enough when hundreds or thousands of dependencies are generated. If you have to make manual corrections after each dependency generation, the whole point is missed. -- Kim Walden ENEA DATA Sweden UUCP: {seismo,decvax,philabs}!{mcvax,ukc,unido}!enea!kim ARPA: decvax!mcvax!enea!kim@berkeley.arpa mcvax!enea!kim@seismo.arpa