#############################################################################
# Steve Rider - stever@transmission23.com
# QuickPics
#   Image galleries for the web made easy
#
# Makefile.  from the beginning.
#
#############################################################################

all: 
	@echo "========================================================================"
	@echo "QuickPics 1.6 (c) 1998 Steve Rider - stever@transmission23.com"
	@echo ""
	@echo "This Makefile will perform the following steps:"
	@echo "  1) Configure and build libjpeg.a"
	@echo "  2) Configure and build QuickPics"
	@echo ""
	@echo "If you already have libjpeg.a, exit now and edit Makefile.in"
	@echo "in the src directory.  Then run make from there."
	@echo ""
	@echo "Configuring and building libjpeg.a..."
	@cd jpeg-6a; sh ./configure; make libjpeg.a

	@echo ""
	@echo "Configuring and building QuickPics..."
	@cd src; sh ./configure; make

clean:
	@cd jpeg-6a; make clean
	@cd src; make clean

dist:
	@cd jpeg-6a; make clean
	@cd src; make dist
