summaryrefslogtreecommitdiff
path: root/support/rtf2tex/Makefile
blob: 6813bc94da5107b9db8864c65b38d29764bf3bcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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