1998-09-17 13:30:13 -04:00
|
|
|
#
|
|
|
|
# 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)
|
|
|
|
|
1998-10-14 13:36:50 -04:00
|
|
|
!if "$(DLL)" == "1"
|
1998-09-17 13:30:13 -04:00
|
|
|
WXBUILDDLL=1
|
|
|
|
WXUSINGDLL=1
|
1998-10-14 13:36:50 -04:00
|
|
|
!endif
|
1998-09-17 13:30:13 -04:00
|
|
|
|
|
|
|
!include $(WXDIR)\src\makeb32.env
|
|
|
|
|
|
|
|
WXLIBDIR = $(WXDIR)\lib
|
1998-12-08 13:59:52 -05:00
|
|
|
LIBS=$(WXLIB) cw32 import32 ole2w32
|
1998-09-17 13:30:13 -04:00
|
|
|
|
|
|
|
!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
|