]> git.saurik.com Git - wxWidgets.git/blame - utils/dialoged/src/makefile.b32
stray #include "wincmn.cpp" removed
[wxWidgets.git] / utils / dialoged / src / makefile.b32
CommitLineData
457814b5
JS
1#
2# File: makefile.b32
3# Author: Patrick Halke
4# Created: 1995
5# Updated:
6# Copyright: (c) 1993, AIAI, University of Edinburgh
7#
8# "%W% %G%"
9#
10# Makefile : Builds Dialog Editor (32-bit Borland)
11
12# WXWIN and BCCDIR are set by parent make
13
14WXDIR = $(WXWIN)
15!include $(WXDIR)\src\makeb32.env
16
17WXLIBDIR = $(WXDIR)\lib
18WXINC = $(WXDIR)\include\msw
19WXBASESRC = $(WXDIR)\src\base
20WXBASEINC = $(WXDIR)\include\base
21WXLIB = $(WXLIBDIR)\wx32.lib
22WXPROPDIR = $(WXDIR)\utils\wxprop
23WXPROPINC = $(WXPROPDIR)\src
24WXPROPLIB = $(WXDIR)\lib\wxprop.lib
25LIBS=$(WXLIB) $(WXPROPLIB) cw32 import32
26INCFILE = includes.cfg
27
28TARGET=dialoged
29
30!if "$(FINAL)" == "0"
31LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
32OPT = -Od
33DEBUG_FLAGS= -v
34!else
35LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
36OPT = -Od
37DEBUG_FLAGS =
38!endif
39CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG) @$(INCFILE)
40
03f68f12 41OBJECTS = dialoged.obj reseditr.obj dlghndlr.obj reswrite.obj winprop.obj edtree.obj edlist.obj
457814b5
JS
42
43$(TARGET).exe: wxprop $(INCFILE) $(OBJECTS) $(TARGET).def $(TARGET).res
44 tlink32 $(LINKFLAGS) @&&!
45c0w32.obj $(OBJECTS)
46$(TARGET)
47nul
48$(LIBS)
49$(TARGET).def
50!
51 brc32 -K $(TARGET).res
52
53$(INCFILE): $(MAKEFILENAME)
54 copy &&!
55-I..\..\wxprop\src
56! $(INCFILE)
57
58$(TARGET).res : $(TARGET).rc $(WXDIR)\include\msw\wx.rc
59 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include\msw /i$(WXDIR)\contrib\fafa $(TARGET)
60
61wxprop:
62 cd $(WXPROPDIR)\src
63 make -f makefile.b32
64 cd $(WXDIR)\utils\dialoged\src
65
66clean:
67 -erase *.obj *.exe *.res *.map *.rws
68
69