1*36048Sbostic# 2*36048Sbostic# Copyright (c) 1988 Regents of the University of California. 3*36048Sbostic# All rights reserved. 4*36048Sbostic# 5*36048Sbostic# Redistribution and use in source and binary forms are permitted 6*36048Sbostic# provided that the above copyright notice and this paragraph are 7*36048Sbostic# duplicated in all such forms and that any documentation, advertising 8*36048Sbostic# materials, and other materials related to such redistribution and 9*36048Sbostic# use acknowledge that the software was developed by the University 10*36048Sbostic# of California, Berkeley. The name of the University may not be 11*36048Sbostic# used to endorse or promote products derived from this software 12*36048Sbostic# without specific prior written permission. THIS SOFTWARE IS PROVIDED 13*36048Sbostic# ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, 14*36048Sbostic# WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND 15*36048Sbostic# FITNESS FOR A PARTICULAR PURPOSE. 16*36048Sbostic# 17*36048Sbostic# @(#)Makefile 5.1 (Berkeley) 10/22/88 18*36048Sbostic# 19*36048Sbostic 20*36048SbosticCFLAGS= -O 21*36048SbosticLIBC= /lib/libc.a 22*36048SbosticSRCS= rev.c 23*36048SbosticOBJS= 24*36048SbosticMAN= rev.0 25*36048Sbostic 26*36048Sbosticall: rev 27*36048Sbostic 28*36048Sbosticrev: ${LIBC} 29*36048Sbostic ${CC} -o $@ ${CFLAGS} $@.c 30*36048Sbostic 31*36048Sbosticclean: 32*36048Sbostic rm -f ${OBJS} core rev 33*36048Sbostic 34*36048Sbosticcleandir: clean 35*36048Sbostic rm -f ${MAN} tags .depend 36*36048Sbostic 37*36048Sbosticdepend: ${SRCS} 38*36048Sbostic mkdep -p ${CFLAGS} ${SRCS} 39*36048Sbostic 40*36048Sbosticinstall: ${MAN} 41*36048Sbostic install -s -o bin -g bin -m 755 rev ${DESTDIR}/usr/bin 42*36048Sbostic install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat1 43*36048Sbostic 44*36048Sbosticlint: ${SRCS} 45*36048Sbostic lint ${CFLAGS} ${SRCS} 46*36048Sbostic 47*36048Sbostictags: ${SRCS} 48*36048Sbostic ctags ${SRCS} 49