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