]> git.mxchange.org Git - flightgear.git/blob - Simulator/mkmfos2.pl
Mod's to better support win32 if perl exists.
[flightgear.git] / Simulator / mkmfos2.pl
1 #!/usr/local/bin/perl
2 #---------------------------------------------------------------------------
3 # mkmfos2 = MaKe MakeFile OS2
4 #
5 # Written by Curtis Olson, started July 1997.
6 #
7 # Copyright (C) 1997  Curtis L. Olson  - curt@infoplane.com
8 #
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 2 of the License, or
12 # (at your option) any later version.
13 #
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 # GNU General Public License for more details.
18 #
19 # You should have received a copy of the GNU General Public License
20 # along with this program; if not, write to the Free Software
21 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 #
23 # $Id$
24 # (Log is kept at end of this file)
25 #---------------------------------------------------------------------------
26
27
28 while ( <> ) {
29     s/\.o\b/\.obj/g;
30     s/\.a\b/\.lib/g;
31     s/\bdepend\b/depend.os2/g;
32     s/\$\(MAKE\)/\$\(MAKE\) -f Makefile.os2/g;
33     print $_;
34 }
35
36
37 #---------------------------------------------------------------------------
38 # $Log$
39 # Revision 1.1  1997/07/20 02:18:32  curt
40 # Initial revision.
41 #