]> git.saurik.com Git - wxWidgets.git/blame - utils/wxMMedia/makefile.b32
1. typos corrected in ftp/protocol/url (Members is no longer a hyperlink
[wxWidgets.git] / utils / wxMMedia / makefile.b32
CommitLineData
a462d134
GL
1#
2# File: makefile.b32
3# Author: Patrick Halke, modified by Guilhem Lavaux
4# Created: 1997
5# Updated:
6# Copyright: (c) 1993, AIAI, University of Edinburgh
7#
8# "%W% %G%"
9#
10# Makefile : Builds 32bit wxstring library for Windows 3.1
11# and Borland C++ 4.x
12
13WXDIR = $(WXWIN)
14
15!include $(WXDIR)\src\makeb32.env
16
17WXLIBDIR = $(WXDIR)\lib
18WXLIB = $(WXDIR)\lib\wx32.lib
19WXINC = $(WXDIR)\include\msw
20WXBASESRC = $(WXDIR)\src\base
21WXBASEINC = $(WXDIR)\include\base
2b556e9a 22LIBS=$(WXLIB) cw32 import32 ole2w32
a462d134
GL
23
24!ifndef DEBUG
25DEBUG=0
26!endif
27
28!if "$(FINAL)" == "0"
29LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
30OPT = -Od
31DEBUG_FLAGS= -v -DDEBUG=$(DEBUG)
32!else
33LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
34OPT = -O2
35DEBUG_FLAGS = -DDEBUG=$(DEBUG)
36!endif
37
38CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
39
40LIBTARGET= $(WXLIBDIR)\wxmmedia.lib
41
42.c.obj:
43 bcc32 $(CPPFLAGS) -P- -c {$< }
44
45OBJECTS = sndsnd.$(OBJSUFF) sndwav.$(OBJSUFF) vidbdrv.$(OBJSUFF) \
46 sndfile.$(OBJSUFF) sndwin.$(OBJSUFF) mmdata.$(OBJSUFF) \
47 mmfile.$(OBJSUFF) mmsolve.$(OBJSUFF) sndfrag.$(OBJSUFF) \
48 cdbase.$(OBJSUFF) cdwin.$(OBJSUFF) vidwin.$(OBJSUFF) \
49 mmriff.$(OBJSUFF)
50
51all: $(LIBTARGET)
52
53$(LIBTARGET): $(OBJECTS)
54 erase $(LIBTARGET)
55 tlib $(LIBTARGET) /P32 @&&!
56+$(OBJECTS:.obj =.obj +)
57!
58
59sndsnd.$(OBJSUFF): sndsnd.$(SRCSUFF) sndsnd.h
60
61sndwin.$(OBJSUFF): sndwin.$(SRCSUFF) sndwin.h
62
63sndfile.$(OBJSUFF): sndfile.$(SRCSUFF) sndfile.h
64
65sndwav.$(OBJSUFF): sndwav.$(SRCSUFF) sndwav.h
66
67sndfrag.$(OBJSUFF): sndfrag.$(SRCSUFF) sndfrag.h
68
69mmdata.$(OBJSUFF): mmdata.$(SRCSUFF)
70
71mmfile.$(OBJSUFF): mmfile.$(SRCSUFF) mmfile.h
72
73mmsolve.$(OBJSUFF): mmsolve.$(SRCSUFF) mmsolve.h
74
75vidbdrv.$(OBJSUFF): vidbdrv.$(SRCSUFF) vidbdrv.h
76
77cdbase.$(OBJSUFF): cdbase.$(SRCSUFF) cdbase.h
78
79cdwin.$(OBJSUFF): cdwin.$(SRCSUFF) cdwin.h
80
81vidwin.$(OBJSUFF): vidwin.$(SRCSUFF) vidwin.h
82
83mmriff.$(OBJSUFF): mmriff.$(SRCSUFF) mmriff.h
84
85clean:
86 -erase *.obj
87 -erase $(LIBTARGET)
88 -erase *.exe
89 -erase *.res
90 -erase *.map
91 -erase *.rws