build.bat 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. @echo off
  2. rem lib/build.bat - build script for W32 port
  3. rem Copyright (C) 2004 - 2006 Michael Riepe
  4. rem
  5. rem This library is free software; you can redistribute it and/or
  6. rem modify it under the terms of the GNU Library General Public
  7. rem License as published by the Free Software Foundation; either
  8. rem version 2 of the License, or (at your option) any later version.
  9. rem
  10. rem This library is distributed in the hope that it will be useful,
  11. rem but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. rem Library General Public License for more details.
  14. rem
  15. rem You should have received a copy of the GNU Library General Public
  16. rem License along with this library; if not, write to the Free Software
  17. rem Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  18. rem @(#) $Id: build.bat,v 1.1 2006/08/21 18:03:48 michael Exp $
  19. rem *** BEGIN EDIT HERE ***
  20. rem Please uncomment the line that suits your system:
  21. rem call "C:\Program Files\Microsoft Visual Studio\VC98\bin\vcvars32.bat"
  22. rem call "C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat"
  23. rem call "C:\Programme\Microsoft Visual Studio\VC98\bin\vcvars32.bat"
  24. rem call "C:\Programme\Microsoft Visual Studio 8\VC\bin\vcvars32.bat"
  25. rem OR, if you have to set the path to the compiler directly:
  26. rem set PATH="C:\PATH\TO\COMPILER\BINARY;%PATH%"
  27. rem Of course, you'll have to enter the correct path above.
  28. rem You may also have to change CC (default: cl.exe) in Makefile.w32.
  29. rem *** END EDIT HERE ***
  30. copy config.h.w32 config.h
  31. copy sys_elf.h.w32 sys_elf.h
  32. nmake /nologo /f Makefile.w32 %1