thf@bentley.UUCP (TH Foregger) (03/25/85)
The author of makefile is Mike Bianchi and he has asked me to post the following more detailed description of what his command actually does. The "makefile" command in the AT&T toolchest does provide include file dependencies, but it also does more. If the following conditions are met, it will construct a correct makefile: <> The current directory contains *.c, *.s, *.l, *.y and include files which compile without error. <> There is one or more *.[csly] which creates a main() routine. <> The main routines are named for the file they are in; e.g. glurp.c contains main() and creates the glurp command. The resultant make file will glue together the approriate *.o's to create the commands. A commenting convention allows the top and bottom of the makefile to be preserved, so you can define make variables and targets of your own. Mike Bianchi Tom Foregger at bentley!thf