3 # Author: Patrick Halke, modified by Guilhem Lavaux
6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds 32bit wxstring library for Windows 3.1
15 !include $(WXDIR)\src\makeb32.env
17 WXLIBDIR = $(WXDIR)\lib
18 WXLIB = $(WXDIR)\lib\wx32.lib
19 WXINC = $(WXDIR)\include\msw
20 WXBASESRC = $(WXDIR)\src\base
21 WXBASEINC = $(WXDIR)\include\base
22 LIBS=$(WXLIB) cw32 import32
29 LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
31 DEBUG_FLAGS= -v -DDEBUG=$(DEBUG)
33 LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
35 DEBUG_FLAGS = -DDEBUG=$(DEBUG)
38 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
40 LIBTARGET= $(WXLIBDIR)\wxmmedia.lib
43 bcc32 $(CPPFLAGS) -P- -c {$< }
45 OBJECTS = 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) \
53 $(LIBTARGET): $(OBJECTS)
55 tlib $(LIBTARGET) /P32 @&&!
56 +$(OBJECTS:.obj =.obj +)
59 sndsnd.$(OBJSUFF): sndsnd.$(SRCSUFF) sndsnd.h
61 sndwin.$(OBJSUFF): sndwin.$(SRCSUFF) sndwin.h
63 sndfile.$(OBJSUFF): sndfile.$(SRCSUFF) sndfile.h
65 sndwav.$(OBJSUFF): sndwav.$(SRCSUFF) sndwav.h
67 sndfrag.$(OBJSUFF): sndfrag.$(SRCSUFF) sndfrag.h
69 mmdata.$(OBJSUFF): mmdata.$(SRCSUFF)
71 mmfile.$(OBJSUFF): mmfile.$(SRCSUFF) mmfile.h
73 mmsolve.$(OBJSUFF): mmsolve.$(SRCSUFF) mmsolve.h
75 vidbdrv.$(OBJSUFF): vidbdrv.$(SRCSUFF) vidbdrv.h
77 cdbase.$(OBJSUFF): cdbase.$(SRCSUFF) cdbase.h
79 cdwin.$(OBJSUFF): cdwin.$(SRCSUFF) cdwin.h
81 vidwin.$(OBJSUFF): vidwin.$(SRCSUFF) vidwin.h
83 mmriff.$(OBJSUFF): mmriff.$(SRCSUFF) mmriff.h