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