]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/wxMMedia/makefile.nt
second try...
[wxWidgets.git] / utils / wxMMedia / makefile.nt
... / ...
CommitLineData
1#
2# File: makefile.nt
3# Author: Stefan Hammes (stefan.hammes@urz.uni-heidelberg.de) / Julian Smart / Petr Houser (1996)
4# Created: 1995
5# Updated:=09
6#
7# "%W% %G%"
8#
9# Makefile : Builds wxSock library for Windows NT / Win95
10
11# Change WXDIR or WXWIN to wherever wxWindows is found
12!include <..\..\src\ntwxwin.mak>
13
14WXMMEDDIR = $(WXDIR)\utils\wxmmedia
15WXMMEDINC = $(WXMMEDDIR)
16WXMMEDLIB = $(WXDIR)\lib\wxmmedia.lib
17INC=-I$(WXBASEINC) -I$(WXINC) -I$(WXMMEDINC)
18
19WXLIB = $(WXDIR)\lib\wx.lib
20
21LIBS=$(WXSOCKLIB) $(LIBS)
22#LIBS=$(WXLIB) $(WXSTRINGLIB) oldnames libw llibcew llibce commdlg shell
23
24OBJECTS = mmdata.obj mmfile.obj sndfile.obj sndsnd.obj sndwin.obj\
25 sndwav.obj sndfrag.obj vidbase.obj
26
27all: $(WXMMEDLIB)
28
29wx:
30 cd $(WXDIR)\src\msw
31 nmake -f makefile.nt
32 cd $(ITSYDIR)
33
34demo:
35
36$(WXMMEDLIB): $(OBJECTS)
37 -erase $(WXSOCKLIB)
38 $(implib) @<<
39-out:$(WXSOCKLIB)
40-machine:$(CPU)
41$(OBJECTS)
42<<
43
44MMdata.obj: MMdata.$(SRCSUFF)
45 cl @<<
46$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
47<<
48
49MMfile.obj: MMfile.$(SRCSUFF)
50 cl @<<
51$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
52<<
53
54SNDfile.obj: SNDfile.$(SRCSUFF) SNDfile.h
55 cl @<<
56$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
57<<
58
59SNDwav.obj: SNDwav.$(SRCSUFF) SNDwav.h
60 cl @<<
61$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
62<<
63
64SNDwin.obj: SNDwin.$(SRCSUFF) SNDwin.h
65 cl @<<
66$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
67<<
68
69SNDsnd.obj: SNDsnd.$(SRCSUFF) SNDsnd.h
70 cl @<<
71$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
72<<
73
74SNDfrag.obj: SNDfrag.$(SRCSUFF) SNDfrag.h
75 cl @<<
76$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
77<<
78
79VIDbase.obj: VIDbase.$(SRCSUFF) VIDbase.h
80 cl @<<
81$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
82<<
83
84clean:
85 -erase *.obj
86 -erase *.exe
87 -erase *.lib
88 -erase *.res
89 -erase *.sbr
90 -erase *.pdb