2b556e9adf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
59 lines
1.0 KiB
Plaintext
59 lines
1.0 KiB
Plaintext
#
|
|
# File: makefile.b32
|
|
# Author: Patrick Halke, modified by Guilhem Lavaux
|
|
# Created: 1997
|
|
# Updated:
|
|
# Copyright: (c) 1993, AIAI, University of Edinburgh
|
|
#
|
|
# "%W% %G%"
|
|
#
|
|
# Makefile : Builds 32bit wxstring library for Windows 3.1
|
|
# and Borland C++ 4.x
|
|
|
|
WXDIR = $(WXWIN)
|
|
|
|
!if "$(DLL)" == "1"
|
|
WXBUILDDLL=1
|
|
WXUSINGDLL=1
|
|
!endif
|
|
|
|
!include $(WXDIR)\src\makeb32.env
|
|
|
|
WXLIBDIR = $(WXDIR)\lib
|
|
LIBS=$(WXLIB) cw32 import32 ole2w32
|
|
|
|
!ifndef DEBUG
|
|
DEBUG=0
|
|
!endif
|
|
|
|
LIBTARGET= $(WXLIBDIR)\wxserial.dll
|
|
CPPFLAGS= $(CPPFLAGS) -Od
|
|
|
|
.c.obj:
|
|
bcc32 $(CPPFLAGS) -P- -c {$< }
|
|
|
|
OBJECTS = sermain.obj sercore.obj serwnd.obj serctrl.obj sergdi.obj serext.obj
|
|
|
|
all: $(LIBTARGET)
|
|
|
|
sermain.obj: sermain.$(SRCSUFF)
|
|
bcc32 $(CPPFLAGS) -P- -u- -c sermain.$(SRCSUFF)
|
|
|
|
$(LIBTARGET): $(OBJECTS)
|
|
erase $(LIBTARGET)
|
|
tlink32 $(LINK_FLAGS) /v @&&!
|
|
c0d32.obj $(OBJECTS)
|
|
$(LIBTARGET)
|
|
nul
|
|
$(LIBS)
|
|
serial
|
|
!
|
|
|
|
clean:
|
|
-erase *.obj
|
|
-erase $(LIBTARGET)
|
|
-erase *.exe
|
|
-erase *.res
|
|
-erase *.map
|
|
-erase *.rws
|