]> git.saurik.com Git - wxWidgets.git/blob - utils/serialize/makefile.b32
Added sys/types.h needed for Solaris.
[wxWidgets.git] / utils / serialize / makefile.b32
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
13 WXDIR = $(WXWIN)
14
15 DLL=1
16 WXBUILDDLL=1
17 WXUSINGDLL=1
18
19 !include $(WXDIR)\src\makeb32.env
20
21 WXLIBDIR = $(WXDIR)\lib
22 LIBS=$(WXLIB) cw32 import32
23
24 !ifndef DEBUG
25 DEBUG=0
26 !endif
27
28 LIBTARGET= $(WXLIBDIR)\wxserial.dll
29 CPPFLAGS= $(CPPFLAGS) -Od
30
31 .c.obj:
32 bcc32 $(CPPFLAGS) -P- -c {$< }
33
34 OBJECTS = sermain.obj sercore.obj serwnd.obj serctrl.obj sergdi.obj serext.obj
35
36 all: $(LIBTARGET)
37
38 sermain.obj: sermain.$(SRCSUFF)
39 bcc32 $(CPPFLAGS) -P- -u- -c sermain.$(SRCSUFF)
40
41 $(LIBTARGET): $(OBJECTS)
42 erase $(LIBTARGET)
43 tlink32 $(LINK_FLAGS) /v @&&!
44 c0d32.obj $(OBJECTS)
45 $(LIBTARGET)
46 nul
47 $(LIBS)
48 serial
49 !
50
51 clean:
52 -erase *.obj
53 -erase $(LIBTARGET)
54 -erase *.exe
55 -erase *.res
56 -erase *.map
57 -erase *.rws