# File: Img/mapped/Makefile
# Authors: Yun Wang,
#          K.R. Sloan
# Last Modified: 21 March 1991
# Purpose: maintain the Img convertors


ARCH = SS1

WFF = /wa/wff

INCLUDE = -I${WFF}/include -I. 

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

CFLAGS = -g ${INCLUDE}

PROGRAMS = img2wff

all: ${PROGRAMS}

img2wff: img2wff.c
	cc ${CFLAGS} -o img2wff img2wff.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 .em* core *"~" \#*
	ls -l

