1998-09-06 14:28:00 -04:00
|
|
|
#
|
|
|
|
# File: makefile.nt
|
|
|
|
# Author: Stefan Hammes (stefan.hammes@urz.uni-heidelberg.de) / Julian Smart / Petr Houser (1996)
|
|
|
|
# Created: 1995
|
|
|
|
# Updated:=09
|
|
|
|
#
|
|
|
|
# "%W% %G%"
|
|
|
|
#
|
|
|
|
# Makefile : Builds wxSock library for Windows NT / Win95
|
1998-09-07 03:58:29 -04:00
|
|
|
|
|
|
|
EXTRALIBS=wsock32.lib
|
|
|
|
|
|
|
|
!include <..\..\src\ntwxwin.mak>
|
1998-09-06 14:28:00 -04:00
|
|
|
|
|
|
|
# Change WXDIR or WXWIN to wherever wxWindows is found
|
|
|
|
#WXWIN = $(WX)
|
1998-09-07 03:58:29 -04:00
|
|
|
#WXDIR = $(WXWIN)
|
|
|
|
#WXINC = $(WXDIR)\include\msw
|
1998-09-06 14:28:00 -04:00
|
|
|
|
1998-09-07 03:58:29 -04:00
|
|
|
#WXSOCKDIR = $(WXDIR)\contrib\wxsock
|
|
|
|
#WXSOCKINC = $(WXSOCKDIR)
|
|
|
|
#WXSOCKLIB = $(WXSOCKDIR)\lib\wxsock.lib $(WXSOCKDIR)\lib\zlib.lib
|
1998-09-06 14:28:00 -04:00
|
|
|
|
1998-09-07 03:58:29 -04:00
|
|
|
#INC=-I$(WXBASEINC) -I$(WXINC) # -I$(WXSOCKINC)
|
|
|
|
#WXLIB = $(WXDIR)\lib\wx.lib
|
|
|
|
#LIBS=$(WXSOCKLIB) wsock32.lib $(LIBS)
|
|
|
|
#LIBS=$(WXSOCKLIB) wsock32.lib $(LIBS)
|
1998-09-06 14:28:00 -04:00
|
|
|
#LIBS=$(WXLIB) $(WXSTRINGLIB) oldnames libw llibcew llibce commdlg shell
|
|
|
|
|
|
|
|
all: client.exe server.exe
|
|
|
|
|
|
|
|
wx:
|
|
|
|
cd $(WXDIR)\src\msw
|
|
|
|
nmake -f makefile.nt
|
|
|
|
cd $(ITSYDIR)
|
|
|
|
|
1998-09-07 03:58:29 -04:00
|
|
|
client.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) client.obj\
|
1998-09-06 14:28:00 -04:00
|
|
|
client.res
|
|
|
|
$(link) -out:client.exe $(LINKFLAGS) $(DUMMYOBJ) client.obj \
|
|
|
|
client.res $(LIBS)
|
|
|
|
|
1998-09-07 03:58:29 -04:00
|
|
|
server.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) server.obj
|
1998-09-06 14:28:00 -04:00
|
|
|
$(link) -out:server.exe $(LINKFLAGS) $(DUMMYOBJ) server.obj $(LIBS)
|
|
|
|
|
|
|
|
client.obj: client.$(SRCSUFF)
|
|
|
|
$(cc) $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
|
|
|
|
|
1998-09-07 03:58:29 -04:00
|
|
|
client.res: client.rc $(WXDIR)\include\wx\msw\wx.rc
|
|
|
|
$(rc) -r /i$(WXDIR)\include -fo$@ client.rc
|
1998-09-06 14:28:00 -04:00
|
|
|
|
|
|
|
|
|
|
|
server.obj: server.$(SRCSUFF)
|
|
|
|
$(cc) $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-erase *.obj
|
|
|
|
-erase *.exe
|
|
|
|
-erase *.lib
|
|
|
|
-erase *.res
|
|
|
|
-erase *.sbr
|
|
|
|
-erase *.pdb
|