#
# File: Makefile
# Author: K.R. Sloan
# Last Modified: 24 March 1989
# Purpose: maintain the Proprinter convertors

ARCH = SS1

PROGRAMS = wff2pro

INCLUDE = ../../include

DEST = ../../${ARCH}bin

#  Path on this system to the wff directory
WFF = ../..

CFLAGS = -O -I${INCLUDE}

all: ${PROGRAMS}

wff2pro: wff2pro.c
	cc ${CFLAGS} -o wff2pro wff2pro.c ${WFF}/${ARCH}bin/wff.o -lc -lm
	
install: all
	cp ${PROGRAMS} ${DEST}
	(cd ${DEST}; chmod a+rx ${PROGRAMS})
	ls -l ${DEST}

clean: 
	rm -f ${PROGRAMS} *.o *.bak *.ckp core *~ \#*
	ls -l

