home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Applications / Python 1.3 / source code / Nt / pmake.nt.bat < prev    next >
Encoding:
DOS Batch File  |  1995-12-17  |  1.5 KB  |  41 lines  |  [TEXT/R*ch]

  1. @echo off
  2.  
  3. : Copied from make.nt.bat
  4.  
  5. : check for MSVC (save passing on cmd line)
  6. if exist \msvcnt\. set MSVC=1
  7. if exist c:\msvcnt\. set MSVC=1
  8.  
  9. set makefile=makefile.nt.mak
  10. start "Python build - Parser"  /dParser  nmake /nologo /F %makefile% %1 %2 %3 %4 %5 %6 %7 %8 %9
  11. start "Python build - Objects" /dObjects nmake /nologo /F %makefile% %1 %2 %3 %4 %5 %6 %7 %8 %9
  12. start "Python build - Python" /dPython nmake /nologo /F %makefile% %1 %2 %3 %4 %5 %6 %7 %8 %9
  13.  
  14. set subdirs=Modules
  15. for %%i in (%subdirs%) do echo %%i & title Python build - %%i & cd %%i & nmake /nologo /F %makefile% %1 %2 %3 %4 %5 %6 %7 %8 %9 & cd ..
  16.  
  17. : Clean up the environment.
  18. set subdirs=
  19. set makefile=
  20. set MSVC=
  21. title Command Prompt
  22.  
  23. : NOTE:  The following is pulled from winnt32.mak.  By passing these 
  24. : arguments to this batch file, you will effect the specified build.
  25.  
  26. : Application Information Type         Invoke NMAKE
  27. : ----------------------------         ------------
  28. : For No Debugging Info                nmake nodebug=1
  29. : For Working Set Tuner Info           nmake tune=1
  30. : For Call Attributed Profiling Info   nmake profile=1
  31. :
  32. : Note: Working Set Tuner and Call Attributed Profiling is for available
  33. :       for the Intel x86 and Pentium systems.
  34. :
  35. : Note: The three options above are mutually exclusive (you may use only
  36. :       one to compile/link the application).
  37. :
  38. : Note: creating the environment variables NODEBUG, TUNE, and PROFILE is an
  39. :       alternate method to setting these options via the nmake command line.
  40. :
  41.