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