home *** CD-ROM | disk | FTP | other *** search
- Brian E. Yoder
- util.txt
- 05/06/91
-
- This directory contains subroutine library and set of utility programs
- for use with DOS, the C/2 1.1 compiler, and large-model programs. To
- use the library, your programs should include the "util.h" header file.
- They should be linked with the "util.lib" library.
-
- To add a subroutine to the library:
-
- - Add the subroutine's source code to the directory.
-
- - Update "util.h": Add the subroutine's function prototype and
- any structures, #defines, or other information needed.
-
- - Update "utilsrc.txt": Add the subroutine's .C file to the list
- of library source modules.
-
- - Update "makefile" to add the subroutine's .OBJ object file to
- the OBJ_LIB variable (list of objects in the library).
-
- - Update "makefile" (LIB response file): Add the subroutine's
- .OBJ object file to the list of objects to be put into the
- library.
-
- To add a utility or test program to this directory:
-
- - Add the program's source code to the directory. Be sure that it
- #includes the "util.h" header file.
-
- - Update "makefile": Add the program's .EXE file as a default
- target (see 'ALL:' in the makefile).
-
- - Update "makefile" to build the program.
-
- - Create a .DOC file that documents the use of the utility (if you
- think it's necessary).
-
- - Update "utilsrc.txt": Add the program's .C file(s) and its .DOC
- documentation file as appropriate.
-
- - Update mkzip.bat command and add executable(s).
-
- - Update the INSTALL command to include the utility program. This
- step can be omitted for test programs.
-