home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / C / DMAKE37S.ZIP / DMAKE / MAKEFILE < prev    next >
Encoding:
Text File  |  1991-05-06  |  2.7 KB  |  59 lines

  1. # Default makefile for the various versions of dmake that we
  2. # have available.  This is a bootstrap version and uses /bin/sh to
  3. # execute a script which compiles dmake.
  4. #
  5. # Note the DOS commands actually invoke command.com to run the .bat file
  6. # to make the script.
  7.  
  8. all:
  9.     @echo "INDEX:  You must issue one of:"
  10.     @echo "   make bsd43         - Generic BSD 4.3 System"
  11.     @echo "   make bsd43uw       - Generic BSD 4.3 at U of Waterloo"
  12.     @echo "   make bsd43vf       - Generic BSD 4.3 that needs vfprintf"
  13.     @echo "   make sysvr4        - Generic SysV R4 UNIX System"
  14.     @echo "   make sysvr3        - Generic SysV R3 UNIX System"
  15.     @echo "   make sysvr1        - Generic SysV R1 UNIX System"
  16.     @echo "   make dynix         - Sequent DYNIX System"
  17.     @echo "   make ultrix        - Ultrix 3.0 System"
  18.     @echo "   make mips          - Any MIPS System"
  19.     @echo "   make 386ix         - 386/ix (SysV R3) System"
  20.     @echo "   make xenix         - 386 Xenix System"
  21.     @echo "   make aix           - IBM RS6000/AIX System"
  22.     @echo "   make os2msc40      - OS/2 using MSC 4.0 compiler"
  23.     @echo "   make os2msc50      - OS/2 using MSC 5.0 compiler"
  24.     @echo "   make os2msc51      - OS/2 using MSC 5.1 compiler"
  25.     @echo "   make os2msc60      - OS/2 using MSC 6.0 compiler"
  26.     @echo "   make tos           - Atari-ST TOS using GCC as compiler"
  27.     @echo "   make tcc           - DOS with Turbo C 2.0"
  28.     @echo "   make bcc           - DOS with Borland C++ 2.0"
  29.     @echo "   make tccswp        - swapping DOS version with Turbo C 2.0"
  30.     @echo "   make bccswp        - swapping DOS version with Borland C++ 2.0"
  31.     @echo "   make msc40         - DOS with MSC 4.0"
  32.     @echo "   make msc50         - DOS with MSC 5.0"
  33.     @echo "   make msc51         - DOS with MSC 5.1"
  34.     @echo "   make msc60         - DOS with MSC 6.0"
  35.     @echo "   make msc40swp      - swapping DOS version with MSC 4.0"
  36.     @echo "   make msc50swp      - swapping DOS version with MSC 5.0"
  37.     @echo "   make msc51swp      - swapping DOS version with MSC 5.1"
  38.     @echo "   make msc60swp      - swapping DOS version with MSC 6.0"
  39.  
  40. bsd43uw :; /bin/sh -x < unix/bsd43/uw/make.sh
  41. bsd43vf dynix mips        :; /bin/sh -x < unix/bsd43/vf/make.sh
  42. sysvr1 sysvr3 sysvr4 bsd43 386ix :; /bin/sh -x < unix/$@/make.sh
  43. ultrix xenix aix: sysvr3;
  44. tos :; sh -x tos/make.sh
  45.  
  46. # Various OS/2 targets.
  47. OS2_VER = os2msc40 os2msc50 os2msc51 os2msc60
  48. $(OS2_VER) :; make.cmd $(@:s/os2//)
  49.  
  50. # DOS with some form of make and sh
  51. # Note if you do not have a 'make and/or sh' program under MSDOS then
  52. # typing 'make' in the dmake distribution directory will invoke the make.bat
  53. # batch file which will issue the appropriate instructions.
  54. DOS_VER = tcc    msc40    msc50    msc51    msc60 \
  55.       tccswp msc40swp msc50swp msc51swp msc60swp \
  56.       bcc \
  57.       bccswp
  58. $(DOS_VER) :; make.bat $@
  59.