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