| Line | |
|---|
| 1 | # $Id: makefile,v 1.11 1999-11-14 22:12:57 hugh Exp $
|
|---|
| 2 |
|
|---|
| 3 | #
|
|---|
| 4 | # PD-Win32 API
|
|---|
| 5 | #
|
|---|
| 6 | # dsound.dll makefile
|
|---|
| 7 | #
|
|---|
| 8 |
|
|---|
| 9 | PDWIN32_INCLUDE = ..\..\include
|
|---|
| 10 | PDWIN32_LIB = ..\..\lib
|
|---|
| 11 | PDWIN32_BIN = ..\..\bin
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 | !include $(PDWIN32_INCLUDE)/pdwin32.mk
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 | CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE)
|
|---|
| 18 | CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE)
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 | TARGET = dsound
|
|---|
| 22 |
|
|---|
| 23 | OBJS = dsound.obj os2dsound.obj initterm.obj os2sndbuffer.obj os2helper.obj
|
|---|
| 24 | #OBJS = dsound.obj initterm.obj
|
|---|
| 25 |
|
|---|
| 26 | all: $(TARGET).dll $(TARGET).lib
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 | $(TARGET).dll: $(OBJS) $(TARGET).def
|
|---|
| 30 | $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS) $(TARGET).def \
|
|---|
| 31 | pmwinx.lib $(PDWIN32_LIB)/kernel32.lib \
|
|---|
| 32 | $(PDWIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O)
|
|---|
| 33 | $(CP) $@ $(PDWIN32_BIN)
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 | $(TARGET).lib: $(TARGET).def
|
|---|
| 37 | $(IMPLIB) $(IMPLIBFLAGS) $@ $**
|
|---|
| 38 | $(CP) $@ $(PDWIN32_LIB)
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 |
|
|---|
| 42 | dsound.obj: dsound.cpp \
|
|---|
| 43 | $(PDWIN32_INCLUDE)/misc.h \
|
|---|
| 44 | os2dsound.h
|
|---|
| 45 |
|
|---|
| 46 | os2dsound.obj: os2dsound.cpp \
|
|---|
| 47 | $(PDWIN32_INCLUDE)/misc.h \
|
|---|
| 48 | os2sndbuffer.h \
|
|---|
| 49 | os2dsound.h
|
|---|
| 50 |
|
|---|
| 51 | os2sndbuffer.obj: os2sndbuffer.cpp \
|
|---|
| 52 | $(PDWIN32_INCLUDE)/misc.h \
|
|---|
| 53 | os2sndbuffer.h \
|
|---|
| 54 | os2dsound.h
|
|---|
| 55 |
|
|---|
| 56 | os2helper.obj: os2helper.cpp\
|
|---|
| 57 | $(PDWIN32_INCLUDE)/os2wrap.h
|
|---|
| 58 |
|
|---|
| 59 |
|
|---|
| 60 | initterm.obj: initterm.cpp initterm.h
|
|---|
| 61 |
|
|---|
| 62 |
|
|---|
| 63 | clean:
|
|---|
| 64 | $(RM) *.obj *.lib *.dll *.map *.pch
|
|---|
| 65 | $(RM) $(PDWIN32_BIN)\$(TARGET).dll
|
|---|
| 66 | $(RM) $(PDWIN32_LIB)\$(TARGET).lib
|
|---|
| 67 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.