]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/tmake/makeall.bat
matching changes for makefile.g95
[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
484523cf
JS
14rem set tmakecmd=E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake
15set tmakecmd=c:\progra~1\tmake\bin\tmake
16
f2071dda
VZ
17if "x%WX%" == "x" goto skip
18set WXDIR=%WX%
19goto ok
20
21:skip
22if "x%WXWIN%" == "x" goto no_wx
23set WXDIR=%WXWIN%
24goto ok
25
26:no_wx
27echo "Please set WX environment variable!"
28goto end
29
30:ok
31set TM=tmake
32if "x%TMAKE%" == "x" goto skip2
33set TM=%TMAKE%
34
35:skip2
36
37rem this loop just doesn't want to work under command.com and cmd.exe and
38rem 4nt.exe, so I preferred to unroll it.
39rem for %%c in (b32 bcc dos g95 sc vc wat) %TM% -t %c% wxwin.pro -o %WXDIR%\src\msw\makefile.%c%
40
41echo Generating for Visual C++ 4.0...
484523cf 42%tmakecmd% -t vc wxwin.pro -o %WXDIR%\src\msw\makefile.vc
f2071dda 43echo Generating for Borland C++ (32 bits)...
484523cf 44%tmakecmd% -t b32 wxwin.pro -o %WXDIR%\src\msw\makefile.b32
f2071dda 45echo Generating for Visual C++ 1.52...
484523cf 46%tmakecmd% -t dos wxwin.pro -o %WXDIR%\src\msw\makefile.dos
f2071dda 47echo Generating for Borland C++ (16 bits)...
484523cf 48%tmakecmd% -t bcc wxwin.pro -o %WXDIR%\src\msw\makefile.bcc
f2071dda 49echo Generating for Cygwin/Mingw32
484523cf 50%tmakecmd% -t g95 wxwin.pro -o %WXDIR%\src\msw\makefile.g95
f2071dda 51echo Generating for Symantec C++...
484523cf 52%tmakecmd% -t sc wxwin.pro -o %WXDIR%\src\msw\makefile.sc
f2071dda 53echo Generating for Watcom C++...
484523cf 54%tmakecmd% -t wat wxwin.pro -o %WXDIR%\src\msw\makefile.wat
f56b8330 55echo Generating for Unix and Configure...
484523cf 56%tmakecmd% -t gtk wxwin.pro -o %WXDIR%\src\gtk\files.lst
a54a9cd3 57%tmakecmd% -t msw wxwin.pro -o %WXDIR%\src\msw\files.lst
484523cf
JS
58%tmakecmd% -t motif wxwin.pro -o %WXDIR%\src\motif\files.lst
59%tmakecmd% -t os2 wxwin.pro -o %WXDIR%\src\os2\files.lst
f2071dda 60:end