]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/tmake/makeall.bat
added a simple makefile to regenerate all other makefiles with tmake
[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...
8d99be5f 39E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t vc wxwin.pro -o makefile.vc
f2071dda 40echo Generating for Borland C++ (32 bits)...
8d99be5f 41E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t b32 wxwin.pro -o makefile.b32
f2071dda 42echo Generating for Visual C++ 1.52...
8d99be5f 43E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t dos wxwin.pro -o makefile.dos
f2071dda 44echo Generating for Borland C++ (16 bits)...
8d99be5f 45E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t bcc wxwin.pro -o makefile.bcc
f2071dda 46echo Generating for Cygwin/Mingw32
8d99be5f 47E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t g95 wxwin.pro -o makefile.g95
f2071dda 48echo Generating for Symantec C++...
8d99be5f 49E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t sc wxwin.pro -o makefile.sc
f2071dda 50echo Generating for Watcom C++...
8d99be5f 51E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t wat wxwin.pro -o makefile.wat
f56b8330
RR
52echo Generating for Unix and Configure...
53E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t unx wxwin.pro -o makefile.unx.in
f2071dda
VZ
54
55:end