]> git.saurik.com Git - wxWidgets.git/blob - utils/tex2rtf/src/makefile.unx
tex2rtf: fixes to makefile.unx to make rpm spec file possible
[wxWidgets.git] / utils / tex2rtf / src / makefile.unx
1 # makefile
2
3 CXXFLAGS = `wx-config --cxxflags`
4 LDFLAGS = `wx-config --libs`
5
6 PROGRAM = tex2rtf
7
8 OBJECTS = tex2rtf.o tex2any.o texutils.o rtfutils.o xlputils.o htmlutil.o readshg.o table.o
9
10 # implementation
11
12 .SUFFIXES: .o .cpp
13
14 .cpp.o :
15 $(CXX) -c $(CXXFLAGS) -o $@ $<
16
17 all: $(PROGRAM)
18
19 $(PROGRAM): $(OBJECTS)
20 $(CXX) -o $(PROGRAM) $(OBJECTS) $(LDFLAGS)
21
22 clean:
23 rm -f *.o $(PROGRAM)
24