1# 2# Copyright (c) 1987 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 4.3 (Berkeley) 06/02/87 7# 8CFLAGS= -O 9LIBC= /lib/libc.a 10SRCS= tp0.c tp1.c tp2.c tp3.c 11OBJS= tp0.o tp1.o tp2.o tp3.o 12 13all: tp 14 15tp: ${OBJS} ${LIBC} 16 ${CC} -o $@ ${CFLAGS} ${OBJS} 17 18clean: FRC 19 rm -f ${OBJS} core tp 20 21depend: FRC 22 mkdep ${CFLAGS} ${SRCS} 23 24install: FRC 25 install -s -o bin -g bin -m 755 tp ${DESTDIR}/bin/tp 26 27lint: FRC 28 lint ${CFLAGS} ${SRCS} 29 30tags: FRC 31 ctags ${SRCS} 32 33FRC: 34 35# DO NOT DELETE THIS LINE -- mkdep uses it. 36# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. 37 38tp0.o: tp0.c tp.h tp_defs.h 39tp1.o: tp1.c tp.h 40tp2.o: tp2.c tp.h /usr/include/stdio.h /usr/include/sys/param.h 41tp2.o: /usr/include/sys/types.h /usr/include/signal.h 42tp2.o: /usr/include/machine/machparam.h /usr/include/sys/stat.h 43tp2.o: /usr/include/sys/dir.h 44tp3.o: tp3.c tp.h 45 46# IF YOU PUT ANYTHING HERE IT WILL GO AWAY 47