home *** CD-ROM | disk | FTP | other *** search
/ Chip Hitware 6 B / CHIP_HITWARE6_B.iso / biuro / BaseCalculator / Sources / MAKE.BAT < prev    next >
DOS Batch File  |  1996-11-06  |  1KB  |  40 lines

  1. @echo off
  2. rem ---------------------------------------------------------------------
  3. rem                       Makefile for Base Calculator
  4. rem                    Copyright (C) 1996, John Zaitseff.
  5. rem ---------------------------------------------------------------------
  6. echo Makefile for Base Calculator.
  7. echo.
  8.  
  9. rem Comment out the next 2 lines once the DELPHI variable has been set to
  10. rem the correct path for the Delphi v2 compiler.  See a;sp a few lines
  11. rem further for differences between Windows 95 and NT 3.51.
  12.  
  13. echo MAKE.BAT has not been modified to set the path of the Delphi compiler!
  14. goto End
  15.  
  16. set DELPHI=C:\Apps\Delphi\Bin
  17. set DELHLP=C:\Apps\Delphi\Help\Tools
  18.  
  19. %DELPHI%\BRCC32 -w32 -foBaseCalc.res BaseCalc.rc
  20. %DELPHI%\DCC32 -B -CG -$H+ -$O+ -$Q- -$R- -$U+ -$X+ BaseCalc.dpr
  21. ren BaseCalc.exe BASECALC.EXE
  22.  
  23. cd Help
  24.  
  25. rem *** Choose the top line of the next two for Windows NT, the bottom one
  26. rem *** for Windows 95.
  27. rem %DELHLP%\HCRTF /x BaseCalc.hpj
  28. START /w %DELHLP%\HCRTF /x BaseCalc.hpj
  29.  
  30. cd ..
  31. ren BaseCalc.cnt BASECALC.CNT
  32. ren BaseCalc.hlp BASECALC.HLP
  33. WINHLP32 -G BASECALC.HLP
  34. attrib -h BaseCalc.gid
  35. ren BaseCalc.gid BASECALC.GID
  36. attrib +h BASECALC.GID
  37.  
  38. echo Makefile completed.
  39. :End
  40.