home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / SASC6571.LZX / extras / mkmk / READ.ME < prev    next >
Encoding:
Text File  |  1996-12-24  |  1.6 KB  |  37 lines

  1. MKMK Utility Copyright (c) 1993 SAS Institute, Inc, Cary, NC, USA
  2. All Rights Reserved
  3.  
  4. MKMK utility source code
  5. ------------------------
  6.  
  7. MKMK is a makefile generator.  It consists of three source files:
  8.  
  9.    mkmk.c contains the main routine, some argument-parsing routines, and
  10.    the routines to create and maintain lists of files.
  11.  
  12.    dofile.c contains routines to maintain dependancy lists.
  13.  
  14.    gensmake.c contains routines to write the makefile.
  15.  
  16. There is also a _protos.h file corresponding to each C file.  This file
  17. contains prototypes and extern declarations for all externally-visible
  18. symbols in its corresponding C file. The _protos.h files are AUTOMATICALLY
  19. maintained.  You can regenerate them by clicking on the Build icon, then
  20. holding down the SHIFT key and double-clicking on the GENPROTO.SMK icon.
  21.  
  22. The final file is "mkmk.h", which contains common structure definitions and
  23. preprocessor defines used by all the files, in addition to #including all 
  24. needed system .h files.
  25.  
  26. The makefile "smakefile" is laid out to automatically maintain a custom GST
  27. for the project.  The makefile "GenProto.smk", as mentioned previously,
  28. rebuilds the _protos.h files.  The makefile "Clean.smk" deletes all
  29. generated files, which effectively forces a complete rebuild of the project
  30. the next time you double-click on the Build icon.
  31.  
  32. "smakefile" builds two versions of the program: one with debugging
  33. information and the other without.  The version with debugging is called
  34. "mkmk.db";  it takes more time to load than the stripped version, "mkmk".
  35.  
  36. For more information on MKMK, see the User's Guide, Volume 2.
  37.