# # Description: Makefile to construct and install a2ps. Don't forget # to give your own values to define variables HEADER_PS and name of # compiler (see OPTIONS). # # File: imag:/users/local/a2ps/Makefile # Created: Mon Nov 29 14:05:39 1988 by miguel@imag (Miguel Santana) # Version: 2.0 # # Copyright (c) 1988, Miguel Santana, miguel@imag.imag.fr # # Permission is granted to copy and distribute this file in modified # or unmodified form, whether for noncommercial or commercial use, # provided (a) this copyright notice is preserved, (b) no attempt is # made to restrict redistribution of this file, and (c) this file is # not distributed as part of any collection whose redistribution is # restricted by a compilation copyright. # D =/usr/mavd/rwb/post/a2ps O =/usr/mavd/rwb/post/a2ps I =/usr/mavd/rwb/post/a2ps L =/usr/mavd/rwb/post/a2ps HEADER =header.ps OPTIONS =-DHEADER_PS="\"$L/$(HEADER)\"" -DBSD -O # Default values for HEIGHT, WIDTH, MARGIN and DIR_SEP (11.64, 8.27, 1.2, /). OBJS = a2ps.o a2ps: a2ps.o @echo -n "Compiling and linking a2ps ... " @cc -o $D/xa2ps a2ps.o @echo "done" all: a2ps install install:; @echo -n "Installing a2ps ... " @cp xa2ps $I/a2ps @cp header.ps $L/$(HEADER) @echo "done" shar:; @shar -b -oa2ps.shar README Makefile a2ps.1 a2ps.c header.ps clean:; @rm -f $(OBJS) xa2ps a2ps.o:; cc -c $(OPTIONS) a2ps.c