##############################################################################
# FILE IDENTIFICATION
# 
#  Name:         Makefile
#  Purpose:      Makefile for the vcs-tree, creates binary executable
#  Author:       Kevin M. Rosenberg
#  Date Started: Sep 2003
#
#  $Id: Makefile 10341 2005-02-19 23:41:19Z kevin $
##############################################################################


pkg	:=vcs-tree
sources	:=$(pkg).asd main.lisp loader.lisp package.lisp kmrcl-excerpt.lisp

$(pkg): $(sources)
	$(MAKE) clean
	/usr/bin/sbcl --userinit /dev/null --eval "(require 'asdf)" --load "$(pkg).asd" --eval "(asdf:operate 'asdf:load-op '$(pkg))" --eval "(sb-ext:quit :unix-status 0)"

clean:
	rm -f *.fasl $(pkg)
