]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/tmake/makeall.bat
compilation fix
[wxWidgets.git] / distrib / msw / tmake / makeall.bat
CommitLineData
f2071dda
VZ
1@echo off
2rem File: makeall.bat
3rem Purpose: create wxWindows makefiles for all compilers
4rem Author: Vadim Zeitlin
5rem Created: 14.07.99
6rem Copyright: (c) 1999 Vadim Zeitlin
7rem Version: $Id$
8rem
9rem Makefile to create the makefiles for all compilers from the templates using
10rem tmake. The environment variable WX or WXWIN should be defined and contain
11rem the root directory of wxWindows installation. TMAKE program should be in
12rem path or, alternatively, TMAKE environment variable should be set.
13
14if "x%WX%" == "x" goto skip
15set WXDIR=%WX%
16goto ok
17
18:skip
19if "x%WXWIN%" == "x" goto no_wx
20set WXDIR=%WXWIN%
21goto ok
22
23:no_wx
24echo "Please set WX environment variable!"
25goto end
26
27:ok
28set TM=tmake
29if "x%TMAKE%" == "x" goto skip2
30set TM=%TMAKE%
31
32:skip2
33
34rem this loop just doesn't want to work under command.com and cmd.exe and
35rem 4nt.exe, so I preferred to unroll it.
36rem for %%c in (b32 bcc dos g95 sc vc wat) %TM% -t %c% wxwin.pro -o %WXDIR%\src\msw\makefile.%c%
37
38echo Generating for Visual C++ 4.0...
af5ba963 39E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t vc wxwin.pro -o %WXDIR%\src\msw\makefile.vc
f2071dda 40echo Generating for Borland C++ (32 bits)...
af5ba963 41E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t b32 wxwin.pro -o %WXDIR%\src\msw\makefile.b32
f2071dda 42echo Generating for Visual C++ 1.52...
af5ba963 43E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t dos wxwin.pro -o %WXDIR%\src\msw\makefile.dos
f2071dda 44echo Generating for Borland C++ (16 bits)...
af5ba963 45E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t bcc wxwin.pro -o %WXDIR%\src\msw\makefile.bcc
f2071dda 46echo Generating for Cygwin/Mingw32
af5ba963 47E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t g95 wxwin.pro -o %WXDIR%\src\msw\makefile.g95
f2071dda 48echo Generating for Symantec C++...
af5ba963 49E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t sc wxwin.pro -o %WXDIR%\src\msw\makefile.sc
f2071dda 50echo Generating for Watcom C++...
af5ba963 51E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t wat wxwin.pro -o %WXDIR%\src\msw\makefile.wat
f56b8330 52echo Generating for Unix and Configure...
af5ba963 53E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t unx wxwin.pro -o %WXDIR%\Makefile.in
f2071dda
VZ
54
55:end