3 # Author: Stefan Hammes (stefan.hammes@urz.uni-heidelberg.de) / Julian Smart / Petr Houser (1996)
9 # Makefile : Builds wxSock library for Windows NT / Win95
13 !include <..\..\src\ntwxwin.mak>
15 # Change WXDIR or WXWIN to wherever wxWindows is found
18 #WXINC = $(WXDIR)\include\msw
20 #WXSOCKDIR = $(WXDIR)\contrib\wxsock
21 #WXSOCKINC = $(WXSOCKDIR)
22 #WXSOCKLIB = $(WXSOCKDIR)\lib\wxsock.lib $(WXSOCKDIR)\lib\zlib.lib
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)
28 #LIBS=$(WXLIB) $(WXSTRINGLIB) oldnames libw llibcew llibce commdlg shell
30 all: client.exe server.exe
37 client.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) client.obj\
39 $(link) -out:client.exe $(LINKFLAGS) $(DUMMYOBJ) client.obj \
42 server.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) server.obj
43 $(link) -out:server.exe $(LINKFLAGS) $(DUMMYOBJ) server.obj $(LIBS)
45 client.obj: client.$(SRCSUFF)
46 $(cc) $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
48 client.res: client.rc $(WXDIR)\include\wx\msw\wx.rc
49 $(rc) -r /i$(WXDIR)\include -fo$@ client.rc
52 server.obj: server.$(SRCSUFF)
53 $(cc) $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)