]> git.saurik.com Git - wxWidgets.git/blame - utils/serialize/makefile.b32
Added sys/types.h needed for Solaris.
[wxWidgets.git] / utils / serialize / makefile.b32
CommitLineData
856d2e52
GL
1#
2# File: makefile.b32
3# Author: Patrick Halke, modified by Guilhem Lavaux
4# Created: 1997
5# Updated:
6# Copyright: (c) 1993, AIAI, University of Edinburgh
7#
8# "%W% %G%"
9#
10# Makefile : Builds 32bit wxstring library for Windows 3.1
11# and Borland C++ 4.x
12
13WXDIR = $(WXWIN)
14
15DLL=1
16WXBUILDDLL=1
17WXUSINGDLL=1
18
19!include $(WXDIR)\src\makeb32.env
20
21WXLIBDIR = $(WXDIR)\lib
22LIBS=$(WXLIB) cw32 import32
23
24!ifndef DEBUG
25DEBUG=0
26!endif
27
28LIBTARGET= $(WXLIBDIR)\wxserial.dll
29CPPFLAGS= $(CPPFLAGS) -Od
30
31.c.obj:
32 bcc32 $(CPPFLAGS) -P- -c {$< }
33
34OBJECTS = sermain.obj sercore.obj serwnd.obj serctrl.obj sergdi.obj serext.obj
35
36all: $(LIBTARGET)
37
38sermain.obj: sermain.$(SRCSUFF)
39 bcc32 $(CPPFLAGS) -P- -u- -c sermain.$(SRCSUFF)
40
41$(LIBTARGET): $(OBJECTS)
42 erase $(LIBTARGET)
43 tlink32 $(LINK_FLAGS) /v @&&!
44c0d32.obj $(OBJECTS)
45$(LIBTARGET)
46nul
47$(LIBS)
48serial
49!
50
51clean:
52 -erase *.obj
53 -erase $(LIBTARGET)
54 -erase *.exe
55 -erase *.res
56 -erase *.map
57 -erase *.rws