]> git.saurik.com Git - wxWidgets.git/blame_incremental - distrib/msw/tmake/makeall.bat
attempt to fix makefile for make -j
[wxWidgets.git] / distrib / msw / tmake / makeall.bat
... / ...
CommitLineData
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...
39E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t vc wxwin.pro -o makefile.vc
40echo Generating for Borland C++ (32 bits)...
41E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t b32 wxwin.pro -o makefile.b32
42echo Generating for Visual C++ 1.52...
43E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t dos wxwin.pro -o makefile.dos
44echo Generating for Borland C++ (16 bits)...
45E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t bcc wxwin.pro -o makefile.bcc
46echo Generating for Cygwin/Mingw32
47E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t g95 wxwin.pro -o makefile.g95
48echo Generating for Symantec C++...
49E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t sc wxwin.pro -o makefile.sc
50echo Generating for Watcom C++...
51E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t wat wxwin.pro -o makefile.wat
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
54
55:end