]>
Commit | Line | Data |
---|---|---|
f4ada568 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 | |
fcc6dddd JS |
10 | |
11 | EXTRALIBS=wsock32.lib | |
12 | ||
13 | !include <..\..\src\ntwxwin.mak> | |
f4ada568 GL |
14 | |
15 | # Change WXDIR or WXWIN to wherever wxWindows is found | |
16 | #WXWIN = $(WX) | |
fcc6dddd JS |
17 | #WXDIR = $(WXWIN) |
18 | #WXINC = $(WXDIR)\include\msw | |
f4ada568 | 19 | |
fcc6dddd JS |
20 | #WXSOCKDIR = $(WXDIR)\contrib\wxsock |
21 | #WXSOCKINC = $(WXSOCKDIR) | |
22 | #WXSOCKLIB = $(WXSOCKDIR)\lib\wxsock.lib $(WXSOCKDIR)\lib\zlib.lib | |
f4ada568 | 23 | |
fcc6dddd JS |
24 | #INC=-I$(WXBASEINC) -I$(WXINC) # -I$(WXSOCKINC) |
25 | #WXLIB = $(WXDIR)\lib\wx.lib | |
26 | #LIBS=$(WXSOCKLIB) wsock32.lib $(LIBS) | |
27 | #LIBS=$(WXSOCKLIB) wsock32.lib $(LIBS) | |
f4ada568 GL |
28 | #LIBS=$(WXLIB) $(WXSTRINGLIB) oldnames libw llibcew llibce commdlg shell |
29 | ||
30 | all: client.exe server.exe | |
31 | ||
32 | wx: | |
33 | cd $(WXDIR)\src\msw | |
34 | nmake -f makefile.nt | |
35 | cd $(ITSYDIR) | |
36 | ||
fcc6dddd | 37 | client.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) client.obj\ |
f4ada568 GL |
38 | client.res |
39 | $(link) -out:client.exe $(LINKFLAGS) $(DUMMYOBJ) client.obj \ | |
40 | client.res $(LIBS) | |
41 | ||
fcc6dddd | 42 | server.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) server.obj |
f4ada568 GL |
43 | $(link) -out:server.exe $(LINKFLAGS) $(DUMMYOBJ) server.obj $(LIBS) |
44 | ||
45 | client.obj: client.$(SRCSUFF) | |
46 | $(cc) $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) | |
47 | ||
fcc6dddd JS |
48 | client.res: client.rc $(WXDIR)\include\wx\msw\wx.rc |
49 | $(rc) -r /i$(WXDIR)\include -fo$@ client.rc | |
f4ada568 GL |
50 | |
51 | ||
52 | server.obj: server.$(SRCSUFF) | |
53 | $(cc) $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) | |
54 | ||
55 | clean: | |
56 | -erase *.obj | |
57 | -erase *.exe | |
58 | -erase *.lib | |
59 | -erase *.res | |
60 | -erase *.sbr | |
61 | -erase *.pdb |