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.2 (Berkeley) 06/19/87 7# 8CFLAGS= -O 9LIBC= /lib/libc.a 10SRCS= box.c circle.c arc.c cont.c dot.c erase.c line.c linemod.c point.c \ 11 label.c move.c open.c close.c space.c 12OBJS= box.o circle.o arc.o cont.o dot.o erase.o line.o linemod.o point.o \ 13 label.o move.o open.o close.o space.o 14 15all: ../libplotbg 16 17../libplotbg: ${OBJS} 18 ar cu $@ ${OBJS} 19 20clean: FRC 21 rm -f ${OBJS} core 22 23depend: FRC 24 mkdep ${CFLAGS} ${SRCS} 25 26lint: FRC 27 lint ${CFLAGS} ${SRCS} 28 29tags: FRC 30 ctags ${SRCS} 31 32install: 33FRC: 34 35# DO NOT DELETE THIS LINE -- mkdep uses it. 36# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. 37 38box.o: box.c 39circle.o: circle.c 40arc.o: arc.c bg.h /usr/include/stdio.h /usr/include/math.h 41cont.o: cont.c bg.h /usr/include/stdio.h /usr/include/math.h 42dot.o: dot.c 43erase.o: erase.c bg.h /usr/include/stdio.h /usr/include/math.h 44line.o: line.c bg.h /usr/include/stdio.h /usr/include/math.h 45linemod.o: linemod.c 46point.o: point.c 47label.o: label.c 48move.o: move.c bg.h /usr/include/stdio.h /usr/include/math.h 49open.o: open.c /usr/include/signal.h bg.h /usr/include/stdio.h 50open.o: /usr/include/math.h 51close.o: close.c /usr/include/signal.h bg.h /usr/include/stdio.h 52close.o: /usr/include/math.h 53space.o: space.c bg.h /usr/include/stdio.h /usr/include/math.h 54 55# IF YOU PUT ANYTHING HERE IT WILL GO AWAY 56