[147] | 1 | # $Id: makefile.os2 147 2000-04-24 19:45:21Z 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 | #
|
---|
| 27 | # To build a fully optimized release version:
|
---|
| 28 | # WMAKE -f makefile.os2 /ms
|
---|
| 29 | #
|
---|
| 30 |
|
---|
| 31 | NMAKEOPTS=-f makefile.os2
|
---|
| 32 |
|
---|
| 33 | !if "$(DEBUG)" == "1"
|
---|
| 34 | NMAKEOPTS=$(NMAKEOPTS) DEBUG=1
|
---|
| 35 | !endif
|
---|
| 36 |
|
---|
| 37 | !if "$(DEBUG)" == "1"
|
---|
| 38 | !Message BUILDING DEBUG VERSION
|
---|
| 39 | !else
|
---|
| 40 | !Message BUILDING RELEASE VERSION
|
---|
| 41 | !endif
|
---|
| 42 |
|
---|
| 43 | ALL: cardinfo.dll runtime.lib linuxlib.lib sblive32.lib sblive16.sys sblive32.sys
|
---|
| 44 |
|
---|
| 45 | cardinfo.dll:
|
---|
| 46 | @echo BUILDING CARDINFO.DLL
|
---|
| 47 | @cd Install
|
---|
| 48 | @nmake $(NMAKEOPTS)
|
---|
| 49 | @cd ..
|
---|
| 50 |
|
---|
| 51 | runtime.lib:
|
---|
| 52 | @echo BUILDING runtime.lib
|
---|
| 53 | @cd runtime
|
---|
| 54 | @wmake $(NMAKEOPTS)
|
---|
| 55 | @cd ..
|
---|
| 56 |
|
---|
| 57 | linuxlib.lib:
|
---|
| 58 | @echo BUILDING linuxlib.lib
|
---|
| 59 | @cd lib32
|
---|
| 60 | @wmake $(NMAKEOPTS)
|
---|
| 61 | @cd ..
|
---|
| 62 |
|
---|
| 63 | sblive32.lib:
|
---|
| 64 | @echo BUILDING sblive32.lib
|
---|
| 65 | @cd sblive
|
---|
| 66 | @wmake $(NMAKEOPTS)
|
---|
| 67 | @cd ..
|
---|
| 68 |
|
---|
| 69 | sblive16.sys:
|
---|
| 70 | @echo BUILDING sblive16.sys
|
---|
| 71 | @cd drv16
|
---|
| 72 | @wmake $(NMAKEOPTS)
|
---|
| 73 | @cd ..
|
---|
| 74 |
|
---|
| 75 | sblive32.sys:
|
---|
| 76 | @echo BUILDING sblive32.sys
|
---|
| 77 | @cd drv32
|
---|
| 78 | @wmake $(NMAKEOPTS)
|
---|
| 79 | @cd ..
|
---|