]> git.saurik.com Git - wxWidgets.git/blob - utils/dialoged/src/makefile.b32
several fixes
[wxWidgets.git] / utils / dialoged / src / makefile.b32
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
14 WXDIR = $(WXWIN)
15 !include $(WXDIR)\src\makeb32.env
16
17 WXLIBDIR = $(WXDIR)\lib
18 WXINC = $(WXDIR)\include\msw
19 WXBASESRC = $(WXDIR)\src\base
20 WXBASEINC = $(WXDIR)\include\base
21 WXLIB = $(WXLIBDIR)\wx32.lib
22 WXPROPDIR = $(WXDIR)\utils\wxprop
23 WXPROPINC = $(WXPROPDIR)\src
24 WXPROPLIB = $(WXDIR)\lib\wxprop.lib
25 LIBS=$(WXLIB) $(WXPROPLIB) cw32 import32
26 INCFILE = includes.cfg
27
28 TARGET=dialoged
29
30 !if "$(FINAL)" == "0"
31 LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
32 OPT = -Od
33 DEBUG_FLAGS= -v
34 !else
35 LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
36 OPT = -Od
37 DEBUG_FLAGS =
38 !endif
39 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG) @$(INCFILE)
40
41 OBJECTS = dialoged.obj reseditr.obj dlghndlr.obj reswrite.obj winprop.obj edtree.obj edlist.obj
42
43 $(TARGET).exe: wxprop $(INCFILE) $(OBJECTS) $(TARGET).def $(TARGET).res
44 tlink32 $(LINKFLAGS) @&&!
45 c0w32.obj $(OBJECTS)
46 $(TARGET)
47 nul
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
61 wxprop:
62 cd $(WXPROPDIR)\src
63 make -f makefile.b32
64 cd $(WXDIR)\utils\dialoged\src
65
66 clean:
67 -erase *.obj *.exe *.res *.map *.rws
68
69