home *** CD-ROM | disk | FTP | other *** search
Makefile | 1989-03-29 | 1.2 KB | 48 lines |
- #
- # 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 =.
-
- O =.
-
- I =/users/local/a2ps
-
- OPTIONS =-DHEADER_PS="\"$I/a2ps.ps\"" -DUNIX -O
-
- OBJS = a2ps.o
-
- all: a2ps install
-
- a2ps: a2ps.o
- @echo -n "Compiling and linking a2ps ... "
- @cc -o $D/xa2ps a2ps.o
- @echo "done"
-
- install:; @echo -n "Installing a2ps ... "
- @cp xa2ps $I/a2ps
- @cp a2ps.ps $I/a2ps.ps
- @echo "done"
-
- clean:; @rm -f $(OBJS)
-
- a2ps.o:;
- cc -c $(OPTIONS) a2ps.c
-
-