source: trunk/src/dsound/makefile@ 1036

Last change on this file since 1036 was 604, checked in by sandervl, 26 years ago

Makefile changes for VAC 3.6.5

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