New directory structure.
[unix-history] / usr / src / usr.bin / vgrind / Makefile
CommitLineData
d0aeaf5a
DF
1#
2# Copyright (c) 1980 Regents of the University of California.
3# All rights reserved. The Berkeley software License Agreement
4# specifies the terms and conditions for redistribution.
5#
6# @(#)Makefile 5.1 (Berkeley) %G%
ee9463df
KM
7#
8DESTDIR=
9CFLAGS=-O
10SOURCES=vfontedpr.c vgrindefs.c regexp.c retest.c
11CMDS=vfontedpr retest
12OBJS=retest.o regexp.o vfontedpr.o vgrindefs.o
13
14all: $(CMDS) ${OBJS}
15
16vfontedpr: vfontedpr.o vgrindefs.o regexp.o
17 cc ${CFLAGS} -o vfontedpr vfontedpr.o vgrindefs.o regexp.o
18retest: retest.o regexp.o
19 cc ${CFLAGS} -o retest retest.c regexp.o
20
21install: all
22 install -s vfontedpr ${DESTDIR}/usr/lib/vfontedpr
23 install -c vgrind.sh ${DESTDIR}/usr/ucb/vgrind
24 install -c vgrindefs.src ${DESTDIR}/usr/lib/vgrindefs
25 install -c tmac.vgrind ${DESTDIR}/usr/lib/tmac/tmac.vgrind
26
27clean:
28 rm -f ${CMDS} ${OBJS}
29
30vprintall:
31 csh /usr/ucb/vprint ${SOURCES}