Path: utzoo!attcan!uunet!auspex!guy From: guy@auspex.UUCP (Guy Harris) Newsgroups: comp.sources.wanted Subject: Re: Makefile Generator Wanted Keywords: automatic Makefile generation, public domain? Message-ID: <736@auspex.UUCP> Date: 17 Dec 88 05:12:56 GMT References: <2269@mergvax> <281@heurikon.UUCP> Reply-To: guy@auspex.UUCP (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 16 >For example, an object file is dependent, not only on its source and >included header files, but also on the compiler and the options >specified in the Makefile. Change any one of these and you've changed >the object. The SunOS 4.0 "make" can be told to handle that; if told to do so, it asks the C preprocessor to list include files used, and asks the linker to list libraries used, when building programs, and builds a ".make.state" file that lists those dependencies. It also makes targets depend on the commands used to build them, so that if the options change targets are rebuilt. I don't remember whether it makes the targets depend on the tools used to build them, although I don't think it does. Unfortunately, you have to buy a Sun to get it (Sun doesn't sell it for other machines), and it requires assistance from the compilers and linker.