]> git.saurik.com Git - wxWidgets.git/blame - utils/wxMMedia/makefile.nt
Added test for sprintf and vsnprintf to fix string.cpp for non-GNU systems.
[wxWidgets.git] / utils / wxMMedia / makefile.nt
CommitLineData
a462d134
GL
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#WXWIN = $(WX)
13WXDIR = $(WXWIN)
14!include $(WXWIN)\src\ntwxwin.mak
15
16WXMMEDDIR = $(WXDIR)\utils\wxmmedia
17WXMMEDINC = $(WXMMEDDIR)
18WXMMEDLIB = $(WXDIR)\lib\wxmmedia.lib
19INC=-I$(WXBASEINC) -I$(WXINC) -I$(WXMMEDINC)
20
21WXLIB = $(WXDIR)\lib\wx.lib
22
23LIBS=$(WXSOCKLIB) $(LIBS)
24#LIBS=$(WXLIB) $(WXSTRINGLIB) oldnames libw llibcew llibce commdlg shell
25
26OBJECTS = mmdata.obj mmfile.obj sndfile.obj sndsnd.obj sndwin.obj\
27 sndwav.obj sndfrag.obj vidbdrv.obj
28
29all: $(WXMMEDLIB)
30
31wx:
32 cd $(WXDIR)\src\msw
33 nmake -f makefile.nt
34 cd $(ITSYDIR)
35
36demo:
37
38$(WXMMEDLIB): $(OBJECTS)
39 -erase $(WXSOCKLIB)
40 $(implib) @<<
41-out:$(WXSOCKLIB)
42-machine:$(CPU)
43$(OBJECTS)
44<<
45
46MMD_data.obj: MMD_data.$(SRCSUFF)
47 cl @<<
48$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
49<<
50
51MMD_file.obj: MMD_file.$(SRCSUFF)
52 cl @<<
53$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
54<<
55
56SND_file.obj: SND_file.$(SRCSUFF) SND_file.h
57 cl @<<
58$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
59<<
60
61SND_wav.obj: SND_wav.$(SRCSUFF) SCK_wav.h
62 cl @<<
63$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
64<<
65
66SND_sound.obj: SND_sound.$(SRCSUFF) SND_sound.h
67 cl @<<
68$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
69<<
70
71SND_sound.obj: SND_sound.$(SRCSUFF) SND_sound.h
72 cl @<<
73$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
74<<
75
76SND_frag.obj: SND_frag.$(SRCSUFF) SND_frag.h
77 cl @<<
78$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
79<<
80
81VID_bdrv.obj: VID_bdrv.$(SRCSUFF) VID_bdrv.h
82 cl @<<
83$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
84<<
85
86clean:
87 -erase *.obj
88 -erase *.exe
89 -erase *.lib
90 -erase *.res
91 -erase *.sbr
92 -erase *.pdb