]>
Commit | Line | Data |
---|---|---|
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 | |
6c905cb7 | 12 | !include <..\..\src\ntwxwin.mak> |
a462d134 GL |
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\ | |
6c905cb7 | 25 | sndwav.obj sndfrag.obj vidbase.obj |
a462d134 GL |
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 | ||
6c905cb7 | 44 | MMdata.obj: MMdata.$(SRCSUFF) |
a462d134 | 45 | cl @<< |
6c905cb7 | 46 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) |
a462d134 GL |
47 | << |
48 | ||
6c905cb7 | 49 | MMfile.obj: MMfile.$(SRCSUFF) |
a462d134 | 50 | cl @<< |
6c905cb7 | 51 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) |
a462d134 GL |
52 | << |
53 | ||
6c905cb7 | 54 | SNDfile.obj: SNDfile.$(SRCSUFF) SNDfile.h |
a462d134 | 55 | cl @<< |
6c905cb7 | 56 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) |
a462d134 GL |
57 | << |
58 | ||
6c905cb7 | 59 | SNDwav.obj: SNDwav.$(SRCSUFF) SNDwav.h |
a462d134 | 60 | cl @<< |
6c905cb7 | 61 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) |
a462d134 GL |
62 | << |
63 | ||
6c905cb7 | 64 | SNDwin.obj: SNDwin.$(SRCSUFF) SNDwin.h |
a462d134 | 65 | cl @<< |
6c905cb7 | 66 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) |
a462d134 GL |
67 | << |
68 | ||
6c905cb7 | 69 | SNDsnd.obj: SNDsnd.$(SRCSUFF) SNDsnd.h |
a462d134 | 70 | cl @<< |
6c905cb7 | 71 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) |
a462d134 GL |
72 | << |
73 | ||
6c905cb7 | 74 | SNDfrag.obj: SNDfrag.$(SRCSUFF) SNDfrag.h |
a462d134 | 75 | cl @<< |
6c905cb7 | 76 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) |
a462d134 GL |
77 | << |
78 | ||
6c905cb7 | 79 | VIDbase.obj: VIDbase.$(SRCSUFF) VIDbase.h |
a462d134 | 80 | cl @<< |
6c905cb7 | 81 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) |
a462d134 GL |
82 | << |
83 | ||
84 | clean: | |
85 | -erase *.obj | |
86 | -erase *.exe | |
87 | -erase *.lib | |
88 | -erase *.res | |
89 | -erase *.sbr | |
90 | -erase *.pdb |