home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 19 / CD_ASCQ_19_010295.iso / dos / prg / midas / docs / makefile.doc < prev    next >
Makefile  |  1994-08-06  |  2KB  |  43 lines

  1.         MIDAS Sound System makefiles
  2.         ----------------------------
  3.  
  4. All MIDAS Sound System example programs are built using makefiles. They
  5. were used instead of Borland C project files to allow development also
  6. outside the Borland IDE, and for easier using with other compilers. If
  7. you are unfamiliar with make, you can practically always use "make
  8. -fFILENAME" to recompile a program, or "make -fFILENAME -B" to fully
  9. build it. Full built is required when changing from one makefile to
  10. another in the same directory, as some files may not be compiled with
  11. correct options. A full build of the program compiles all the files,
  12. whether they were changed or not.
  13.  
  14. Most of the makefiles will require some editing, as the directories and
  15. compiler names might not be correct. Everything that needs to be
  16. changed is defined in the beginning of the makefile. For example, if
  17. the makefile contains a line
  18.         BCDIR = c:\bc
  19. and you have installed Borland C to d:\borlandc, simply change the line
  20. to
  21.         BCDIR = d:\borlandc
  22. with any text editor. Likewise, if you are using Borland Pascal instead
  23. of Turbo Pascal, change the line
  24.         PC = tpc
  25. to
  26.         PC = bpc
  27. and similarly for different C compilers.
  28.  
  29.  
  30. The makefiles and corresponding batch files in MIDAS Sound System are:
  31.  
  32. MIDP.MAK                MIDAS Module Player
  33. DBP.MAK                 MIDAS debug module player
  34. MIDASLIB.MAK            MIDAS Sound System library, MIDAS.LIB.
  35. MAKELIB.BAT             Builds MIDAS.LIB, which is used by example
  36.                         programs.
  37. DBPPAS.MAK              MIDAS Pascal debug module player
  38. MIDASTPU.MAK            MIDAS Sound System interface unit, MIDAS.TPU
  39. MAKETPU.BAT             Builds MIDAS.TPU, which is used by example
  40.                         programs
  41. EXAMPLES\C_EXP.MAK      C-language examples. Needs MIDAS.LIB
  42. EXAMPLES\PAS_EXP.MAK    Pascal examples. Needs MIDAS.TPU
  43.