# Makefile for the "photo" programs
# Originally by Mike Kenniston
# Commented and cleaned up by Bill Nowicki June 1982
# sunpress added by Per Bothner. June 1983.

all: photo

expand:	expand.c pix.h
	cc expand.c -o expand

avgerror: avgerror.c pix.h
	cc avgerror.c -o avgerror

ascpix:	ascpix.c pix.h
	cc ascpix.c -o ascpix

pixsun:	pixsun.c pix.h
	cc pixsun.c -o pixsun

photo:	photo.b pix.h 
	cc68 -r -o photo photo.b -lrfio -lleaf -lpup -lgraphics

photo.b: photo.c
	cc68 -c photo.c

sunpress: sunpress.c
	cc -o sunpress sunpress.c

clean:
	rm -f *.CKP *.BAK *.d *.b *.o photo

install: photo
	sunbootmake photo

