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

all: libDEVICE.a

ARCH = XARCH
SGP = XSGP
CFLAGS = XCFLAGS

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

image.o: image.c

DEVICE.o : DEVICE.c

devClip.o: devClip.c

devCircle.o: devCircle.c

devTriangle.o: devTriangle.c

devLine.o: devLine.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
