]>
Commit | Line | Data |
---|---|---|
68df5777 RR |
1 | # makefile |
2 | ||
8ac5de36 VS |
3 | CXXFLAGS = `wx-config --cxxflags` |
4 | LDFLAGS = `wx-config --libs` | |
68df5777 RR |
5 | |
6 | PROGRAM = tex2rtf | |
9a29912f JS |
7 | |
8 | OBJECTS = tex2rtf.o tex2any.o texutils.o rtfutils.o xlputils.o htmlutil.o readshg.o table.o | |
9 | ||
68df5777 RR |
10 | # implementation |
11 | ||
12 | .SUFFIXES: .o .cpp | |
13 | ||
14 | .cpp.o : | |
8ac5de36 | 15 | $(CXX) -c $(CXXFLAGS) -o $@ $< |
68df5777 RR |
16 | |
17 | all: $(PROGRAM) | |
18 | ||
19 | $(PROGRAM): $(OBJECTS) | |
8ac5de36 | 20 | $(CXX) -o $(PROGRAM) $(OBJECTS) $(LDFLAGS) |
68df5777 RR |
21 | |
22 | clean: | |
23 | rm -f *.o $(PROGRAM) | |
9a29912f | 24 |