home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / PROG / PASCAL / TPFORT17.ZIP / MAKEFILE < prev    next >
Encoding:
Text File  |  1990-06-27  |  907 b   |  37 lines

  1. #   Just type "MAKE" or "MAKE Everything" to create the demo program.  It
  2. #   needs the TP 5.5 TPC compiler the MS Fortran 5 FL compiler and MS LINK on
  3. #   the current path.  For some reason I don't understand, this file doesn't
  4. #   work with Microsoft's NMAKE.
  5.  
  6. Everything:  psample.exe fsample.ldr
  7.     rem Type PSAMPLE to run demo
  8.  
  9. #   type "MAKE Clean" to clean up the directory after the demo
  10.  
  11. Clean:
  12.     erase psample.exe
  13.     erase fsample.tpu
  14.     erase fsample.ldr
  15.     erase fsample.obj
  16.  
  17. #   Generic rules
  18.  
  19. #   Use environment variables PASOPTS and FORTOPTS to set compiler options.
  20.  
  21. .for.ldr:
  22.     FL $(FORTOPTS) /FPi87 $*.FOR calltp.obj /F 4000 /link $(LIBS)
  23.     rename $*.exe $*.ldr
  24.  
  25. .pas.exe:
  26.     tpc $(PASOPTS) $< /M
  27.  
  28. .pas.tpu:
  29.     tpc $(PASOPTS) $< /M
  30.  
  31. #  Dependencies
  32.  
  33. psample.exe:  psample.pas fsample.pas fortlink.tpu
  34.  
  35. fsample.ldr:  fsample.for calltp.obj
  36.  
  37.