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= arc.c box.c circle.c clospl.c cont.c dot.c erase.c label.c \ 11 line.c linemd.c move.c open.c point.c space.c 12OBJS= arc.o box.o circle.o clospl.o cont.o dot.o erase.o label.o \ 13 line.o linemd.o move.o open.o point.o space.o 14 15all: ../libf77plot 16 17../libf77plot: ${OBJS} 18 ar cu $@ `lorder ${OBJS} | tsort` 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 38arc.o: arc.c 39box.o: box.c 40circle.o: circle.c 41clospl.o: clospl.c 42cont.o: cont.c 43dot.o: dot.c 44erase.o: erase.c 45label.o: label.c 46line.o: line.c 47linemd.o: linemd.c 48move.o: move.c 49open.o: open.c 50point.o: point.c 51space.o: space.c 52 53# IF YOU PUT ANYTHING HERE IT WILL GO AWAY 54