]> git.saurik.com Git - wxWidgets.git/blob - utils/tex2rtf/src/makefile.g95
Added dde sample; added docs/index.htm
[wxWidgets.git] / utils / tex2rtf / src / makefile.g95
1 #
2 # File: makefile.g95
3 # Author: Julian Smart
4 # Created: 1996
5 # Updated:
6 #
7 # "%W% %G%"
8 #
9 # Makefile for Tex2RTF (GNU-WIN32)
10
11 WXDIR = ../../..
12
13 # All common UNIX compiler flags and options are now in
14 # this central makefile.
15 include $(WXDIR)/src/makeg95.env
16
17 OBJECTS = $(OBJDIR)/tex2rtf.$(OBJSUFF) $(OBJDIR)/texutils.$(OBJSUFF) $(OBJDIR)/tex2any.$(OBJSUFF)\
18 $(OBJDIR)/htmlutil.$(OBJSUFF) $(OBJDIR)/rtfutils.$(OBJSUFF) $(OBJDIR)/xlputils.$(OBJSUFF)\
19 $(OBJDIR)/table.$(OBJSUFF) $(OBJDIR)/readshg.$(OBJSUFF)\
20 $(OBJDIR)/tex2rtf_resources.$(OBJSUFF)
21
22 all: $(OBJDIR) tex2rtf$(GUISUFFIX)$(EXESUFF)
23
24 INC = $(COMPPATHS) -I$(WXDIR)/include/msw -I$(WXDIR)/include/base -I../../wxhelp/src
25 CPPFLAGS = $(XINCLUDE) $(INC) $(OPTIONS) $(GUI) -DDEBUG='$(DEBUG)' $(DEBUGFLAGS) $(WARN) $(OPT)
26
27 $(OBJDIR):
28 mkdir $(OBJDIR)
29
30 tex2rtf$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
31 $(CC) $(LDFLAGS) -o tex2rtf$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
32
33 $(OBJDIR)/tex2rtf.$(OBJSUFF): tex2rtf.$(SRCSUFF) tex2rtf.h tex2any.h
34 $(CC) -c $(CPPFLAGS) -o $@ tex2rtf.$(SRCSUFF)
35
36 $(OBJDIR)/texutils.$(OBJSUFF): texutils.$(SRCSUFF) tex2rtf.h tex2any.h
37 $(CC) -c $(CPPFLAGS) -o $@ texutils.$(SRCSUFF)
38
39 $(OBJDIR)/tex2any.$(OBJSUFF): tex2any.$(SRCSUFF) tex2any.h
40 $(CC) -c $(CPPFLAGS) -o $@ tex2any.$(SRCSUFF)
41
42 $(OBJDIR)/htmlutil.$(OBJSUFF): htmlutil.$(SRCSUFF) tex2any.h
43 $(CC) -c $(CPPFLAGS) -o $@ htmlutil.$(SRCSUFF)
44
45 $(OBJDIR)/rtfutils.$(OBJSUFF): rtfutils.$(SRCSUFF) tex2any.h
46 $(CC) -c $(CPPFLAGS) -o $@ rtfutils.$(SRCSUFF)
47
48 $(OBJDIR)/xlputils.$(OBJSUFF): xlputils.$(SRCSUFF) tex2any.h
49 $(CC) -c $(CPPFLAGS) -o $@ xlputils.$(SRCSUFF)
50
51 $(OBJDIR)/table.$(OBJSUFF): table.$(SRCSUFF) tex2any.h
52 $(CC) -c $(CPPFLAGS) -o $@ table.$(SRCSUFF)
53
54 $(OBJDIR)/readshg.$(OBJSUFF): readshg.$(SRCSUFF) readshg.h
55 $(CC) -c $(CPPFLAGS) -o $@ readshg.$(SRCSUFF)
56
57 $(OBJDIR)/tex2rtf_resources.o: tex2rtf.rc
58 $(RESCOMP) -i tex2rtf.rc -o $(OBJDIR)/tex2rtf_resources.o $(RESFLAGS)
59
60 clean:
61 rm -f $(OBJECTS) tex2rtf$(GUISUFFIX).exe core *.rsc *.res