]> git.saurik.com Git - wxWidgets.git/blob - samples/wxsocket/makefile.nt
Test for image conversion correctness.
[wxWidgets.git] / samples / wxsocket / makefile.nt
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 EXTRALIBS=wsock32.lib
12
13 !include <..\..\src\ntwxwin.mak>
14
15 # Change WXDIR or WXWIN to wherever wxWindows is found
16 #WXWIN = $(WX)
17 #WXDIR = $(WXWIN)
18 #WXINC = $(WXDIR)\include\msw
19
20 #WXSOCKDIR = $(WXDIR)\contrib\wxsock
21 #WXSOCKINC = $(WXSOCKDIR)
22 #WXSOCKLIB = $(WXSOCKDIR)\lib\wxsock.lib $(WXSOCKDIR)\lib\zlib.lib
23
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
29
30 all: client.exe server.exe
31
32 wx:
33 cd $(WXDIR)\src\msw
34 nmake -f makefile.nt
35 cd $(ITSYDIR)
36
37 client.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) client.obj\
38 client.res
39 $(link) -out:client.exe $(LINKFLAGS) $(DUMMYOBJ) client.obj \
40 client.res $(LIBS)
41
42 server.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) server.obj
43 $(link) -out:server.exe $(LINKFLAGS) $(DUMMYOBJ) server.obj $(LIBS)
44
45 client.obj: client.$(SRCSUFF)
46 $(cc) $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
47
48 client.res: client.rc $(WXDIR)\include\wx\msw\wx.rc
49 $(rc) -r /i$(WXDIR)\include -fo$@ client.rc
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