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.6 (Berkeley) 06/19/87 7# 8CFLAGS= -O 9LIBC= /lib/libc.a 10SRCS= arc.c box.c circle.c close.c dot.c erase.c label.c \ 11 line.c linemod.c move.c open.c point.c space.c subr.c 12OBJS= arc.o box.o circle.o close.o dot.o erase.o label.o \ 13 line.o linemod.o move.o open.o point.o space.o subr.o 14 15all: ../lib4014 16 17../lib4014: ${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 41close.o: close.c /usr/include/stdio.h 42dot.o: dot.c 43erase.o: erase.c 44label.o: label.c 45line.o: line.c 46linemod.o: linemod.c 47move.o: move.c 48open.o: open.c 49point.o: point.c 50space.o: space.c 51subr.o: subr.c /usr/include/stdio.h 52 53# IF YOU PUT ANYTHING HERE IT WILL GO AWAY 54