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