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