diff options
Diffstat (limited to 'Build/source/texk/dvi2tty/dvi2tty-5.3.1/Makefile')
-rw-r--r-- | Build/source/texk/dvi2tty/dvi2tty-5.3.1/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Build/source/texk/dvi2tty/dvi2tty-5.3.1/Makefile b/Build/source/texk/dvi2tty/dvi2tty-5.3.1/Makefile new file mode 100644 index 00000000000..e1635eaccf7 --- /dev/null +++ b/Build/source/texk/dvi2tty/dvi2tty-5.3.1/Makefile @@ -0,0 +1,40 @@ +# Makefile for dvi2tty and disdvi 23/01/89 M.J.E. Mol +# +# For BSD Unix use the following CFLAGS definition +# CFLAGS = -Dstrchr=index +# +# This Makefile does not work for MSDOS. Make your +# own one, or compile by hand. +# +CC = gcc + +CFLAGS = -Wall -O2 +# CFLAGS = -Wall -O2 -fomit-frame-pointer +LDFLAGS = -s + +prefix = /usr/local +mandir = $(prefix)/man/man1 +bindir = $(prefix)/bin + + +all: dvi2tty disdvi + +dvi2tty:dvi2tty.o dvistuff.o + $(CC) $(LFLAGS) -o dvi2tty dvi2tty.o dvistuff.o + +disdvi:disdvi.o + $(CC) $(LFLAGS) -o disdvi disdvi.o + +dvi2tty.o: dvi2tty.c dvi2tty.h + +dvistuff.o: dvistuff.c dvi2tty.h commands.h + +disdvi.o: disdvi.c commands.h + +clean: + rm -f dvi2tty disdvi *.o + +install: all + install dvi2tty disdvi $(bindir) + install dvi2tty.1 $(mandir) + install disdvi.1 $(mandir) |