]> git.saurik.com Git - wxWidgets.git/blob - utils/tex2rtf/src/makefile.b32
e22b1345f3b92a882ffb73842326502bce9e1028
[wxWidgets.git] / utils / tex2rtf / src / makefile.b32
1 #
2 # File: makefile.b32
3 # Author: Julian Smart
4 # Created: 1993
5 # Updated:
6 # Copyright:
7 #
8 # "%W% %G%"
9 #
10 # Makefile : Builds tex2rtf
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 WXLIB = $(WXLIBDIR)\wx32.lib
20 LIBS=$(WXLIB) cw32 import32 ole2w32
21
22 TARGET=tex2rtf
23
24 !if "$(FINAL)" == "0"
25 LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
26 OPT = -Od
27 DEBUG_FLAGS= -v
28 !else
29 LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
30 OPT = -Od
31 DEBUG_FLAGS =
32 !endif
33 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
34
35 OBJECTS = tex2rtf.obj tex2any.obj texutils.obj rtfutils.obj xlputils.obj htmlutil.obj readshg.obj table.obj
36
37 $(TARGET).exe: $(OBJECTS) $(TARGET).res
38 tlink32 $(LINKFLAGS) @&&!
39 c0w32.obj $(OBJECTS)
40 $(TARGET)
41 nul
42 $(LIBS)
43 $(TARGET).def
44 $(TARGET).res
45 !
46
47 .$(SRCSUFF).obj:
48 bcc32 $(CPPFLAGS) -c {$< }
49
50 .c.obj:
51 bcc32 $(CPPFLAGS) -P- -c {$< }
52
53 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
54 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET)
55
56 clean:
57 -erase *.obj
58 -erase *.exe
59 -erase *.res
60 -erase *.map
61 -erase *.rws
62