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