#
# File: dev1/.Makefile
# Author: K.R. Sloan
# Last Modified: 3 August 1990
# Purpose: maintain dev1

all: libDEVICE.a

ARCH = SS1
SGP = /wa/SGP
CFLAGS = -O -I/wa/SGP/include

OBJS =  DEVICE.o devClip.o devCircle.o devTriangle.o devLine.o

devClip.o: devClip.c

devCircle.o: devCircle.c

devTriangle.o: devTriangle.c

devLine.o: devLine.c

DEVICE.o : DEVICE.c

libDEVICE.a: ${OBJS}
	rm -f libDEVICE.a
	ar ruv libDEVICE.a ${OBJS}
	ranlib libDEVICE.a

install: libDEVICE.a
	mv libDEVICE.a libDEVICE.${ARCH}.a
	chmod a+r libDEVICE.${ARCH}.a
	ls -l

clean :
	rm -f *.o *~ *.ckp *.bak *~ \#* core .emacs*
	ls -l
