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