3 # Author: Stefan Hammes (stefan.hammes@urz.uni-heidelberg.de) / Julian Smart / Petr Houser (1996)
9 # Makefile : Builds wxSock library for Windows NT / Win95
10 !include <..\..\..\src\ntwxwin.mak>
12 # Change WXDIR or WXWIN to wherever wxWindows is found
15 WXINC = $(WXDIR)\include\msw
17 WXSOCKDIR = $(WXDIR)\contrib\wxsock
18 WXSOCKINC = $(WXSOCKDIR)
19 WXSOCKLIB = $(WXSOCKDIR)\lib\wxsock.lib $(WXSOCKDIR)\lib\zlib.lib
20 INC=-I$(WXBASEINC) -I$(WXINC) -I$(WXSOCKINC)
22 WXLIB = $(WXDIR)\lib\wx.lib
24 LIBS=$(WXSOCKLIB) wsock32.lib $(LIBS)
25 #LIBS=$(WXLIB) $(WXSTRINGLIB) oldnames libw llibcew llibce commdlg shell
27 all: client.exe server.exe
34 client.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) $(WXSTRINGLIB) client.obj\
36 $(link) -out:client.exe $(LINKFLAGS) $(DUMMYOBJ) client.obj \
39 server.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) $(WXSTRINGLIB) server.obj
40 $(link) -out:server.exe $(LINKFLAGS) $(DUMMYOBJ) server.obj $(LIBS)
42 client.obj: client.$(SRCSUFF)
43 $(cc) $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
45 client.res: client.rc $(WXDIR)\include\msw\wx.rc
46 $(rc) -r /i$(WXDIR)\include\msw /i$(WXDIR)\contrib\fafa -fo$@ client.rc
49 server.obj: server.$(SRCSUFF)
50 $(cc) $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)