#
# File: Makefile
# Author: K.R. Sloan
# Last Modified: 11 March 1991
# Purpose: maintain the targa convertors

ARCH = SS1

PROGRAMS = wff2targa targa2wff

INCLUDE = ../../include

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

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

CFLAGS = -O -I${INCLUDE}

all: ${PROGRAMS}

wff2targa: wff2targa.o ${DEST}/wff.o
	cc ${CFLAGS} -o wff2targa  wff2targa.o ${DEST}/wff.o -lc

targa2wff: targa2wff.o ${DEST}/wff.o
	cc ${CFLAGS} -o targa2wff  targa2wff.o ${DEST}/wff.o -lc

install: all
	cp ${PROGRAMS} ${DEST}
	(cd ${DEST}; chmod a+rx ${PROGRAMS})
	ls -l ${DEST}

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


