source: sbliveos2/trunk/makefile.os2@ 149

Last change on this file since 149 was 148, checked in by sandervl, 25 years ago

beta 0.25 update

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
RevLine 
[147]1# $Id: makefile.os2 148 2000-04-26 18:01:02Z sandervl $
[142]2#******************************************************************************
3# makefile for the SoundBlaster Live! OS/2 audio project
4#
5# Copyright 2000 Sander van Leeuwen (sandervl@xs4all.nl)
6#
7# This program is free software; you can redistribute it and/or
8# modify it under the terms of the GNU General Public License as
9# published by the Free Software Foundation; either version 2 of
10# the License, or (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public
18# License along with this program; if not, write to the Free
19# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
20# USA.
21#
22#******************************************************************************
23#
24# To build a debug version:
25# WMAKE -f makefile.os2 DEBUG=1 /ms
26#
[148]27# To build the KEE enhanced debug version of the 32 bits driver:
28# WMAKE -f makefile.os2 DEBUG=1 KEE=1 /ms
29#
[142]30# To build a fully optimized release version:
31# WMAKE -f makefile.os2 /ms
32#
[148]33# To build the KEE enhanced release version of the 32 bits driver:
34# WMAKE -f makefile.os2 KEE=1 /ms
35#
36#
[142]37
38NMAKEOPTS=-f makefile.os2
39
40!if "$(DEBUG)" == "1"
41NMAKEOPTS=$(NMAKEOPTS) DEBUG=1
42!endif
43
[148]44!if "$(KEE)" == "1"
45NMAKEOPTS=$(NMAKEOPTS) KEE=1
46!endif
47
[142]48!if "$(DEBUG)" == "1"
49!Message BUILDING DEBUG VERSION
50!else
51!Message BUILDING RELEASE VERSION
52!endif
53
54ALL: cardinfo.dll runtime.lib linuxlib.lib sblive32.lib sblive16.sys sblive32.sys
55
56cardinfo.dll:
57 @echo BUILDING CARDINFO.DLL
58 @cd Install
59 @nmake $(NMAKEOPTS)
60 @cd ..
61
62runtime.lib:
63 @echo BUILDING runtime.lib
64 @cd runtime
65 @wmake $(NMAKEOPTS)
66 @cd ..
67
68linuxlib.lib:
69 @echo BUILDING linuxlib.lib
70 @cd lib32
[148]71 @wmake /ms $(NMAKEOPTS)
[142]72 @cd ..
73
74sblive32.lib:
75 @echo BUILDING sblive32.lib
76 @cd sblive
[148]77 @wmake /ms $(NMAKEOPTS)
[142]78 @cd ..
79
80sblive16.sys:
81 @echo BUILDING sblive16.sys
82 @cd drv16
83 @wmake $(NMAKEOPTS)
84 @cd ..
85
86sblive32.sys:
87 @echo BUILDING sblive32.sys
88 @cd drv32
[148]89 @wmake /ms $(NMAKEOPTS)
[142]90 @cd ..
Note: See TracBrowser for help on using the repository browser.