From d7bd7ca5bfd3666057fdab078b98972b5efbf090 Mon Sep 17 00:00:00 2001 From: Guillermo Rodriguez Garcia Date: Fri, 3 Mar 2000 19:24:21 +0000 Subject: [PATCH] makefiles changed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/ipc/client.b32 | 16 ++++++++ samples/ipc/makefile.b32 | 87 +++++----------------------------------- samples/ipc/server.b32 | 16 ++++++++ 3 files changed, 43 insertions(+), 76 deletions(-) create mode 100644 samples/ipc/client.b32 create mode 100644 samples/ipc/server.b32 diff --git a/samples/ipc/client.b32 b/samples/ipc/client.b32 new file mode 100644 index 0000000000..dc09ca1d17 --- /dev/null +++ b/samples/ipc/client.b32 @@ -0,0 +1,16 @@ +# +# File: makefile.b32 +# Author: Julian Smart +# Created: 1999 +# Updated: +# Copyright: +# +# Makefile : Builds sample for 32-bit BC++ + +WXDIR = $(WXWIN) + +TARGET=client +OBJECTS = $(TARGET).obj + +!include $(WXDIR)\src\makeprog.b32 + diff --git a/samples/ipc/makefile.b32 b/samples/ipc/makefile.b32 index 94a0ed2b5b..b9aac16acc 100644 --- a/samples/ipc/makefile.b32 +++ b/samples/ipc/makefile.b32 @@ -1,82 +1,17 @@ # -# File: makefile.b32 -# Author: Guilhem Lavaux -# Created: 1998 +# File: makefile.vc +# Author: Julian Smart +# Created: 1999 # Updated: -# Copyright: (c) Guilhem Lavaux +# Copyright: (c) Julian Smart # -# "%W% %G%" -# -# Makefile : Builds 32-bit wxSocket sample under BC++ - -WXDIR = $(WXWIN) - -ZLIB = $(WXDIR)\lib\zlib.lib - -!include $(WXDIR)\src\makeb32.env - -WXLIBDIR = $(WXDIR)\lib -WXINC = $(WXDIR)\include\msw -WXLIB = $(WXLIBDIR)\wx32.lib -LIBS=$(WXLIB) $(ZLIB) cw32 import32 ole2w32 - -!if "$(FINAL)" == "0" -LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib -OPT = -Od -DEBUG_FLAGS= -v -!else -LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib -OPT = -Od -DEBUG_FLAGS = -!endif -CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG) - -.$(SRCSUFF).obj: - bcc32 $(CPPFLAGS) -c {$< } - -.c.obj: - bcc32 $(CPPFLAGS) -P- -c {$< } +# Makefile : Builds sample for 32-bit BC++ -CLIENT_TARGET=client -SERVER_TARGET=server -CLIENT_OBJECTS=client.obj -SERVER_OBJECTS=server.obj - -all: $(CLIENT_TARGET).exe $(SERVER_TARGET).exe - -$(CLIENT_TARGET).exe: $(CLIENT_OBJECTS) $(CLIENT_TARGET).res - tlink32 $(LINKFLAGS) @&&! - c0w32.obj $(CLIENT_OBJECTS) - $(CLIENT_TARGET) - nul - $(LIBS) - $(CLIENT_TARGET).def - $(CLIENT_TARGET).res -! - -client.obj: client.cpp - -$(CLIENT_TARGET).res : $(CLIENT_TARGET).rc $(WXDIR)\include\wx\msw\wx.rc - brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(CLIENT_TARGET) - -$(SERVER_TARGET).exe: $(SERVER_OBJECTS) $(SERVER_TARGET).res - tlink32 $(LINKFLAGS) @&&! - c0w32.obj $(SERVER_OBJECTS) - $(SERVER_TARGET) - nul - $(LIBS) - $(SERVER_TARGET).def - $(SERVER_TARGET).res -! - -server.obj: server.cpp - -$(SERVER_TARGET).res: $(SERVER_TARGET).rc $(WXDIR)\include\wx\msw\wx.rc - brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(SERVER_TARGET) +all: + make -f server.b32 all + make -f client.b32 all clean: - -erase *.obj - -erase *.exe - -erase *.res - -erase *.map - -erase *.rws + make -f server.b32 clean + make -f client.b32 clean + diff --git a/samples/ipc/server.b32 b/samples/ipc/server.b32 new file mode 100644 index 0000000000..ea052fb474 --- /dev/null +++ b/samples/ipc/server.b32 @@ -0,0 +1,16 @@ +# +# File: makefile.b32 +# Author: Julian Smart +# Created: 1999 +# Updated: +# Copyright: +# +# Makefile : Builds sample for 32-bit BC++ + +WXDIR = $(WXWIN) + +TARGET=server +OBJECTS = $(TARGET).obj + +!include $(WXDIR)\src\makeprog.b32 + -- 2.45.2