Renamed .nt makefiles to .vc and factored them out; made DND sample compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
18
samples/wxsocket/client.vc
Normal file
18
samples/wxsocket/client.vc
Normal file
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# File: makefile.vc
|
||||
# Author: Julian Smart
|
||||
# Created: 1999
|
||||
# Updated:
|
||||
# Copyright: (c) Julian Smart
|
||||
#
|
||||
# Makefile : Builds sample (VC++, WIN32)
|
||||
# Use FINAL=1 argument to nmake to build final version with no debug info.
|
||||
|
||||
# Set WXDIR for your system
|
||||
WXDIR = $(WXWIN)
|
||||
|
||||
PROGRAM=client
|
||||
OBJECTS = $(PROGRAM).obj
|
||||
|
||||
!include $(WXDIR)\src\makeprog.vc
|
||||
|
@@ -1,61 +0,0 @@
|
||||
#
|
||||
# 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
|
||||
|
||||
EXTRALIBS=wsock32.lib
|
||||
|
||||
!include <..\..\src\ntwxwin.mak>
|
||||
|
||||
# Change WXDIR or WXWIN to wherever wxWindows is found
|
||||
#WXWIN = $(WX)
|
||||
#WXDIR = $(WXWIN)
|
||||
#WXINC = $(WXDIR)\include\msw
|
||||
|
||||
#WXSOCKDIR = $(WXDIR)\contrib\wxsock
|
||||
#WXSOCKINC = $(WXSOCKDIR)
|
||||
#WXSOCKLIB = $(WXSOCKDIR)\lib\wxsock.lib $(WXSOCKDIR)\lib\zlib.lib
|
||||
|
||||
#INC=-I$(WXBASEINC) -I$(WXINC) # -I$(WXSOCKINC)
|
||||
#WXLIB = $(WXDIR)\lib\wx.lib
|
||||
#LIBS=$(WXSOCKLIB) wsock32.lib $(LIBS)
|
||||
#LIBS=$(WXSOCKLIB) wsock32.lib $(LIBS)
|
||||
#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)
|
||||
|
||||
client.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) client.obj\
|
||||
client.res
|
||||
$(link) -out:client.exe $(LINKFLAGS) $(DUMMYOBJ) client.obj \
|
||||
client.res $(LIBS)
|
||||
|
||||
server.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) server.obj
|
||||
$(link) -out:server.exe $(LINKFLAGS) $(DUMMYOBJ) server.obj $(LIBS)
|
||||
|
||||
client.obj: client.$(SRCSUFF)
|
||||
$(cc) $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
|
||||
|
||||
client.res: client.rc $(WXDIR)\include\wx\msw\wx.rc
|
||||
$(rc) -r /i$(WXDIR)\include -fo$@ client.rc
|
||||
|
||||
|
||||
server.obj: server.$(SRCSUFF)
|
||||
$(cc) $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
|
||||
|
||||
clean:
|
||||
-erase *.obj
|
||||
-erase *.exe
|
||||
-erase *.lib
|
||||
-erase *.res
|
||||
-erase *.sbr
|
||||
-erase *.pdb
|
18
samples/wxsocket/server.vc
Normal file
18
samples/wxsocket/server.vc
Normal file
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# File: makefile.vc
|
||||
# Author: Julian Smart
|
||||
# Created: 1999
|
||||
# Updated:
|
||||
# Copyright: (c) Julian Smart
|
||||
#
|
||||
# Makefile : Builds sample (VC++, WIN32)
|
||||
# Use FINAL=1 argument to nmake to build final version with no debug info.
|
||||
|
||||
# Set WXDIR for your system
|
||||
WXDIR = $(WXWIN)
|
||||
|
||||
PROGRAM=server
|
||||
OBJECTS = $(PROGRAM).obj
|
||||
|
||||
!include $(WXDIR)\src\makeprog.vc
|
||||
|
Reference in New Issue
Block a user