]>
Commit | Line | Data |
---|---|---|
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 |