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