Last change
on this file was 174, checked in by sandervl, 24 years ago |
makefile updates
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.4 KB
|
Rev | Line | |
---|
[174] | 1 | CINCLUDES = $(%WATCOM)\H;..\include;..\runtime;..\sblive
|
---|
| 2 | AINCLUDES = $(%DDK)\BASE\H
|
---|
[142] | 3 |
|
---|
[174] | 4 | CDEFINES = -D__KERNEL__ -DPRIVATE_PCM_VOLUME -DMODULE -DPCI_8010 -dTARGET_OS2
|
---|
[142] | 5 |
|
---|
[174] | 6 | 32BIT=1
|
---|
| 7 | !include ..\makefile.inc
|
---|
| 8 | !include ..\include\sblive32.mak
|
---|
[142] | 9 |
|
---|
[148] | 10 |
|
---|
[142] | 11 | #===================================================================
|
---|
| 12 | #
|
---|
| 13 | # List of source files
|
---|
| 14 | #
|
---|
| 15 | #===================================================================
|
---|
| 16 | FILE1 = main.obj cardmi.obj cardmo.obj cardwi.obj cardwo.obj
|
---|
| 17 | FILE2 = efxmgr.obj emuadxmg.obj hwaccess.obj irqmgr.obj
|
---|
| 18 | FILE3 = mixer.obj recmgr.obj
|
---|
| 19 | FILE4 = voicemgr.obj audio.obj osutils.obj timer.obj
|
---|
| 20 | FILE5 = midi.obj
|
---|
| 21 | FILE6 =
|
---|
| 22 | FILE7 =
|
---|
| 23 | FILE8 =
|
---|
| 24 | FILELAST =
|
---|
| 25 | FILES = $(FILE0) $(FILE1) $(FILE2) $(FILE3) $(FILE4) $(FILE5) $(FILE6) $(FILE7) $(FILE8) $(FILE9)
|
---|
[174] | 26 |
|
---|
| 27 | !if "$(KEE)" == "1"
|
---|
| 28 | TARGET = sblive32kee
|
---|
| 29 | !else
|
---|
[142] | 30 | TARGET = sblive32
|
---|
[174] | 31 | !endif
|
---|
[142] | 32 |
|
---|
[174] | 33 | LNKFILE = $(OBJDIR)\$(TARGET).lnk
|
---|
[142] | 34 |
|
---|
| 35 |
|
---|
| 36 | #===================================================================
|
---|
| 37 | #
|
---|
| 38 | # Specific dependencies
|
---|
| 39 | #
|
---|
| 40 | #===================================================================
|
---|
[174] | 41 | all: $(OBJDIR)\$(TARGET).lib
|
---|
[142] | 42 |
|
---|
| 43 |
|
---|
[174] | 44 | $(LNKFILE): makefile.os2
|
---|
| 45 | @%create $(LNKFILE)
|
---|
| 46 | @for %f in ($(FILES)) do @%append $(LNKFILE) -+$(OBJDIR)\%f
|
---|
[142] | 47 |
|
---|
[174] | 48 | $(OBJDIR)\$(TARGET).lib: $(LNKFILE) $(FILES)
|
---|
| 49 | $(LIB) $(OBJDIR)\$(TARGET).lib @$(LNKFILE)
|
---|
| 50 | copy $(OBJDIR)\$(TARGET).lib $(SBLIVE_LIB)
|
---|
[147] | 51 |
|
---|
[174] | 52 |
|
---|
[147] | 53 | clean:
|
---|
[174] | 54 | cd $(OBJDIR)
|
---|
[147] | 55 | del *.obj *.err *.lnk *.sys *.sym *.lst *.map *.wmap *.lib
|
---|
[174] | 56 | cd ..
|
---|
Note:
See
TracBrowser
for help on using the repository browser.