]>
Commit | Line | Data |
---|---|---|
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 | ||
14 | WXMMEDDIR = $(WXDIR)\utils\wxmmedia | |
15 | WXMMEDINC = $(WXMMEDDIR) | |
16 | WXMMEDLIB = $(WXDIR)\lib\wxmmedia.lib | |
17 | INC=-I$(WXBASEINC) -I$(WXINC) -I$(WXMMEDINC) | |
18 | ||
19 | WXLIB = $(WXDIR)\lib\wx.lib | |
20 | ||
21 | LIBS=$(WXSOCKLIB) $(LIBS) | |
22 | #LIBS=$(WXLIB) $(WXSTRINGLIB) oldnames libw llibcew llibce commdlg shell | |
23 | ||
24 | OBJECTS = mmdata.obj mmfile.obj sndfile.obj sndsnd.obj sndwin.obj\ | |
25 | sndwav.obj sndfrag.obj vidbase.obj | |
26 | ||
27 | all: $(WXMMEDLIB) | |
28 | ||
29 | wx: | |
30 | cd $(WXDIR)\src\msw | |
31 | nmake -f makefile.nt | |
32 | cd $(ITSYDIR) | |
33 | ||
34 | demo: | |
35 | ||
36 | $(WXMMEDLIB): $(OBJECTS) | |
37 | -erase $(WXSOCKLIB) | |
38 | $(implib) @<< | |
39 | -out:$(WXSOCKLIB) | |
40 | -machine:$(CPU) | |
41 | $(OBJECTS) | |
42 | << | |
43 | ||
44 | MMdata.obj: MMdata.$(SRCSUFF) | |
45 | cl @<< | |
46 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) | |
47 | << | |
48 | ||
49 | MMfile.obj: MMfile.$(SRCSUFF) | |
50 | cl @<< | |
51 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) | |
52 | << | |
53 | ||
54 | SNDfile.obj: SNDfile.$(SRCSUFF) SNDfile.h | |
55 | cl @<< | |
56 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) | |
57 | << | |
58 | ||
59 | SNDwav.obj: SNDwav.$(SRCSUFF) SNDwav.h | |
60 | cl @<< | |
61 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) | |
62 | << | |
63 | ||
64 | SNDwin.obj: SNDwin.$(SRCSUFF) SNDwin.h | |
65 | cl @<< | |
66 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) | |
67 | << | |
68 | ||
69 | SNDsnd.obj: SNDsnd.$(SRCSUFF) SNDsnd.h | |
70 | cl @<< | |
71 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) | |
72 | << | |
73 | ||
74 | SNDfrag.obj: SNDfrag.$(SRCSUFF) SNDfrag.h | |
75 | cl @<< | |
76 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) | |
77 | << | |
78 | ||
79 | VIDbase.obj: VIDbase.$(SRCSUFF) VIDbase.h | |
80 | cl @<< | |
81 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) | |
82 | << | |
83 | ||
84 | clean: | |
85 | -erase *.obj | |
86 | -erase *.exe | |
87 | -erase *.lib | |
88 | -erase *.res | |
89 | -erase *.sbr | |
90 | -erase *.pdb |