home *** CD-ROM | disk | FTP | other *** search
- MAKE - for CP/M 2.2 with DateStamper
-
- MAKE is a utility inspired by the Unix(tm) command of the same
- name. MAKE helps maintain programs that are constructed from
- many files. MAKE processes a "makefile", a file which describes
- how to build a program from its source files, and produces a
- script file containing the commands necessary to recompile the
- program.
-
- MAKE is especially useful for keeping a complex, evolving program
- up to date as its components are revised. MAKE can automatically
- execute the script to create an updated COM file when one or more
- of its components is changed. Using DateStamper's automatic file
- datestamping, MAKE causes only those files that depend on the
- more recent file to be recreated (compiled/assembled/linked or
- whatever).
-
- MAKE includes options to list the steps it would follow in order
- to rebuild the program, to assume that all files are obsolete and
- recompile everything, and to automatically invoke a batch
- processor to run the command script that does the rebuilding.
-
- A makefile is a list of dependencies. A dependency consists of
- a root name, a colon, and zero or more names of dependent files.
- For instance, in:
-
- make.com : #H make.crl file.crl macro.crl osdate.crl
- parsedir.crl token.crl alloc.crl makelib.crl
-
-
- the file 'make.com' depends on 9 other files (including the one
- specified by the macro #H).
-
- Any number of 'method' lines may follow a dependency. Method lines
- begin with an ascii tab. When a file is to be recompiled, MAKE
- copies these method lines (minus the tab) to the script file.
- For example, in:
-
- make.com : #H make.crl file.crl macro.crl osdate.crl
- parsedir.crl token.crl alloc.crl makelib.crl
- clink make file macro osdate parsedir
- token alloc -f makelib -n
-
- the two lines following the dependency make up the method for
- re-linking the file 'make.com'.
-
- Other features include macro capability and pre- and post-processing
- macros.
-
- Requirements:
- CP/M 2.2(tm)
- DateStamper(tm)
-
- Source code:
- bds-c v 1.50a and ASM/CSM
-
-
- Be careful: this MAKE is NOT compatible with Unix(tm) MAKE! The
- program name conflicts with an older CP/M program with the same
- name that changes the user number of a (set of) files. You may
- want to rename that program MAKEUSER.
-
-
- Authors:
- Neil Maron - CP/M version
- Landon Dyer - original MSDOS version
- Bridger Mitchell - DateStamper assistance
- f 'method' lines may follow a dependency. Method lines
- begin with an ascii tab. When a file is to be recompiled, MAKE
- c