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 5.5 (Berkeley) 07/14/87 7# 8CFLAGS= -O -I. 9LIBC= /lib/libc.a 10SRCS= dc.c 11OBJS= 12 13all: dc 14 15dc: dc.c ${LIBC} 16 ${CC} ${CFLAGS} dc.c -o $@ 17 18clean: FRC 19 rm -f ${OBJS} core dc 20 21depend: FRC 22 mkdep -p ${CFLAGS} ${SRCS} 23 24install: FRC 25 install -s -o bin -g bin -m 755 dc ${DESTDIR}/usr/bin/dc 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 38dc: dc.c /usr/include/stdio.h /usr/include/signal.h /usr/include/machine/trap.h 39dc: dc.h 40 41# IF YOU PUT ANYTHING HERE IT WILL GO AWAY 42