home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_progs / prog_c / mkmake.lha / ReadMe < prev    next >
Text File  |  1992-06-13  |  2KB  |  67 lines

  1.                       mkmake - A make file generator
  2.  
  3.                               by Martin Hohl
  4.  
  5.                          Amiga Version 0.3 beta
  6.  
  7.  
  8. Imagine you have a set of 30 source files which you have to compile and link
  9. together. The original makefile is missing or unusable for your make utility.
  10. You have to set up a suitable makefile from scratch.
  11. mkmake helps you to do this job quicker and easier.
  12.  
  13. You simply put those source file in a separate directory and type:
  14.  
  15. mkmake -a -L #?.c >makefile
  16.  
  17. or you type:
  18. mkmake -a -L file1.c file2.c file3.c ... >makefile
  19.  
  20. and you have a skeleton makefile which you can edit to your needs.
  21.  
  22.  
  23. SYNOPSIS:
  24.  
  25. mkmake [-o<objext>] [-m<mainfile>] [-aL] [-r<libfile>] fpattern
  26.  
  27. <objext> is the extension for the object files, the default is .o for AmigaDOS.
  28. <mainfile> is the name for the main file.
  29.  
  30. -a   variables SRC and OBJ are created and set to the filenames of all sources
  31.      respective object files
  32.  
  33. -L   all filenames are lowercase
  34.  
  35. -r<libfile>   generate calls for the librarian
  36.  
  37.  
  38. SUPPORTED OPERATING SYSTEMS:
  39. MS-DOS (Turbo-C 2.0)
  40. AmigaDOS 1.3  (SAS/C 5.10B) (1.3 compatible pattern matching only)
  41. AmigaDOS 2.04 (SAS/C 5.10B) (2.04 compatible pattern matching)
  42.  
  43.  
  44. BUGS:
  45. -o<objext> does'nt work in some cases
  46.  
  47. IDEAS for future enhancements:
  48. add support for BSD and SYSV, just need to add #ifdef in scandir()
  49. add in a scanner for "#include" statements in source files to get dependencies
  50.  
  51. FILES:
  52. mkmake.c      Source for the main program
  53. match.o       AmigaDOS 1.3
  54. mkmake.make   makefile for AmigaDOS
  55. mkmake        Binary for AmigaDOS, compiled with SAS/C 5.10B
  56. mkmake.exe    Binary for MS-DOS
  57.  
  58.  
  59. AUTHOR: Martin Hohl
  60.         Robert-Leicht-Str. 132
  61.         D-W7100 Stuttgart 80
  62.         FRG
  63.  
  64.         Email: martinh@solaris.tynet.sub.org
  65.         Contributions, ideas & comments welcome !
  66.         Send flames to /dev/null or nil:
  67.