CC = gcc CFLAGS = -g COMMONOBJS = reader.o # BINDIR = /usr/local/bin MANDIR = /usr/local/man # RTF-to-TeX translator TEXOBJS = rtf2TeX.o $(COMMONOBJS) rtf2TeX: $(TEXOBJS) $(CC) -o $@ $(TEXOBJS) install: rtf2TeX rtf2TeX.man cp rtf2TeX $(BINDIR) cp rtf2TeX.man $(MANDIR)/man1/rtf2TeX.1 tags: etags -et *.[ch] clean:: -rm -f rtf2TeX *~ core *.o TAGS # reader.o rtf2TeX.o : rtf.h rtf2TeX.o : fonts.h AA_version.h