Update copyright notices.
[make.git] / w32 / subproc / build.bat
blob3e68bec8f85aea361304294ab2812ae81cdd0f2b
1 @if "%1" == "gcc" GoTo GCCBuild\r
2 if not exist .\WinDebug\nul mkdir .\WinDebug\r
3 cl.exe /nologo /MT /W4 /GX /Z7 /YX /Od /I .. /I . /I ../include /I ../.. /D WIN32 /D WINDOWS32 /D _DEBUG /D _WINDOWS /FR.\WinDebug/ /Fp.\WinDebug/subproc.pch /Fo.\WinDebug/ /c misc.c\r
4 cl.exe /nologo /MT /W4 /GX /Z7 /YX /Od /I .. /I . /I ../include /I ../.. /D WIN32 /D WINDOWS32 /D _DEBUG /D _WINDOWS /FR.\WinDebug/ /Fp.\WinDebug/subproc.pch /Fo.\WinDebug/ /c sub_proc.c\r
5 cl.exe /nologo /MT /W4 /GX /Z7 /YX /Od /I .. /I . /I ../include /I ../.. /D WIN32 /D WINDOWS32 /D _DEBUG /D _WINDOWS /FR.\WinDebug/ /Fp.\WinDebug/subproc.pch /Fo.\WinDebug/ /c w32err.c\r
6 lib.exe /NOLOGO /OUT:.\WinDebug\subproc.lib  .\WinDebug/misc.obj  .\WinDebug/sub_proc.obj  .\WinDebug/w32err.obj\r
7 if not exist .\WinRel\nul mkdir .\WinRel\r
8 cl.exe /nologo /MT /W4 /GX /YX /O2 /I .. /I . /I ../include /I ../.. /D WIN32 /D WINDOWS32 /D NDEBUG /D _WINDOWS /FR.\WinRel/ /Fp.\WinRel/subproc.pch /Fo.\WinRel/ /c misc.c\r
9 cl.exe /nologo /MT /W4 /GX /YX /O2 /I .. /I . /I ../include /I ../.. /D WIN32 /D WINDOWS32 /D NDEBUG /D _WINDOWS /FR.\WinRel/ /Fp.\WinRel/subproc.pch /Fo.\WinRel/ /c sub_proc.c\r
10 cl.exe /nologo /MT /W4 /GX /YX /O2 /I .. /I . /I ../include /I ../.. /D WIN32 /D WINDOWS32 /D NDEBUG /D _WINDOWS /FR.\WinRel/ /Fp.\WinRel/subproc.pch /Fo.\WinRel/ /c w32err.c\r
11 lib.exe /NOLOGO /OUT:.\WinRel\subproc.lib  .\WinRel/misc.obj  .\WinRel/sub_proc.obj  .\WinRel/w32err.obj\r
12 GoTo BuildEnd\r
13 :GCCBuild\r
14 gcc -mthreads -Wall -gdwarf-2 -g3 -O2 -I.. -I. -I../include -I../.. -DWINDOWS32 -c misc.c -o ../../w32_misc.o\r
15 gcc -mthreads -Wall -gdwarf-2 -g3 -O2 -I.. -I. -I../include -I../.. -DWINDOWS32 -c sub_proc.c -o ../../sub_proc.o\r
16 gcc -mthreads -Wall -gdwarf-2 -g3 -O2 -I.. -I. -I../include -I../.. -DWINDOWS32 -c w32err.c -o ../../w32err.o\r
17 :BuildEnd\r
19 @echo off\r
20 rem Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,\r
21 rem 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.\r
22 rem This file is part of GNU Make.\r
23 rem\r
24 rem GNU Make is free software; you can redistribute it and/or modify it under\r
25 rem the terms of the GNU General Public License as published by the Free\r
26 rem Software Foundation; either version 3 of the License, or (at your option)\r
27 rem any later version.\r
28 rem\r
29 rem GNU Make is distributed in the hope that it will be useful, but WITHOUT\r
30 rem ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\r
31 rem FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for.\r
32 rem more details.\r
33 rem\r
34 rem You should have received a copy of the GNU General Public License along\r
35 rem with this program.  If not, see <http://www.gnu.org/licenses/>.\r