home *** CD-ROM | disk | FTP | other *** search
Makefile | 1990-12-28 | 1.2 KB | 52 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 =/usr/local/bin
-
- L =/usr/local/lib
-
- PROLOGUE =a2ps.prologue
-
- CDEBUGFLAGS = -O
-
- OPTIONS =-DPROLOGUE="\"$L/$(PROLOGUE)\"" $(CDEBUGFLAGS)
- # Default values for HEIGHT, WIDTH, MARGIN and DIR_SEP (11.64, 8.27, 1.2, /).
-
- OBJS = a2ps.o
-
- a2ps: a2ps.o
- cc -o $D/a2ps a2ps.o
-
- all: a2ps install
-
- install:; cp a2ps $I/a2ps
- cp a2ps.prologue $L
-
- shar:; shar -b -oa2ps.shar README Makefile a2ps.1 a2ps.c header.ps
-
- clean:; rm -f $(OBJS) a2ps
-
- a2ps.o: a2ps.c
- cc -c $(OPTIONS) a2ps.c
-
-