]>
Commit | Line | Data |
---|---|---|
ef3a5c9e MB |
1 | #!/bin/sh |
2 | # | |
f3391ea5 MB |
3 | # File: makeall.sh |
4 | # Purpose: create wxWindows makefiles for all compilers | |
5 | # Author: Michael Bedward | |
6 | # Created: 29 Aug 1999 | |
7 | # Copyright: (c) 1999 Michael Bedward | |
8 | # Version: $Id$ | |
9 | # | |
10 | # This creates the makefiles for all compilers from the templates using | |
11 | # tmake. The tmake executable should be in the path. | |
12 | ||
13 | # Assume we are in distrib/msw/tmake | |
14 | # | |
15 | topdir="../../.." | |
16 | mswdir="$topdir/src/msw" | |
ef3a5c9e MB |
17 | |
18 | for tname in `ls *.t` | |
19 | do | |
20 | case $tname in | |
21 | b32.t) | |
f3391ea5 MB |
22 | echo "Generating $mswdir/makefile.b32 for Borland C++ (32 bits)..." |
23 | tmake -t b32 wxwin.pro -o $mswdir/makefile.b32 ;; | |
ef3a5c9e MB |
24 | |
25 | bcc.t) | |
f3391ea5 MB |
26 | echo "Generating $mswdir/makefile.bcc for Borland C++ (16 bits)..." |
27 | tmake -t bcc wxwin.pro -o $mswdir/makefile.bcc;; | |
ef3a5c9e MB |
28 | |
29 | dos.t) | |
f3391ea5 MB |
30 | echo "Generating $mswdir/makefile.dos for Visual C++ 1.52..." |
31 | tmake -t dos wxwin.pro -o $mswdir/makefile.dos;; | |
ef3a5c9e MB |
32 | |
33 | g95.t) | |
f3391ea5 MB |
34 | echo "Generating $mswdir/makefile.g95 for Cygwin/Mingw32..." |
35 | tmake -t g95 wxwin.pro -o $mswdir/makefile.g95;; | |
ef3a5c9e MB |
36 | |
37 | sc.t) | |
f3391ea5 MB |
38 | echo "Generating $mswdir/makefile.sc for Symantec C++..." |
39 | tmake -t sc wxwin.pro -o $mswdir/makefile.sc;; | |
ef3a5c9e MB |
40 | |
41 | vc.t) | |
f3391ea5 MB |
42 | echo "Generating $mswdir/makefile.vc for Visual C++ 4.0..." |
43 | tmake -t vc wxwin.pro -o $mswdir/makefile.vc;; | |
ef3a5c9e MB |
44 | |
45 | wat.t) | |
f3391ea5 MB |
46 | echo "Generating $mswdir/makefile.wat for Watcom C++..." |
47 | tmake -t wat wxwin.pro -o $mswdir/makefile.wat;; | |
ef3a5c9e MB |
48 | |
49 | unx.t) | |
f3391ea5 MB |
50 | echo "Generating $topdir/Makefile.in for Unix and Configure..." |
51 | tmake -t unx wxwin.pro -o $topdir/Makefile.in;; | |
ef3a5c9e MB |
52 | esac |
53 | done | |
54 |