# Makefile for detex and others # # Sven 860110 ALL= detex destex delatex deslatex funiq s-spell CFLAGS= -O DESTDIR= /usr/local/bin all: $(ALL) detex: detex.o cc -o detex detex.o -ll destex: destex.o cc -o destex destex.o -ll delatex: delatex.o cc -o delatex delatex.o -ll deslatex: deslatex.o cc -o deslatex deslatex.o -ll funiq: funiq.o cc -o funiq funiq.o s-spell: s-spell.sh cp s-spell.sh s-spell chmod +x s-spell s-spell.sh: /usr/bin/spell cp /usr/bin/spell s-spell.sh patch s-spell.sh < spell.patch install: $(ALL) for i in $(ALL); do \ install -s $$i $(DESTDIR)/$$i; done instman:; cp detex.1 /usr/man/manl/detex.l debug: lex deslatex.l mv lex.yy.c deslatex.c