#
# Hierarkia - Scheme Implementation
# Makefile
#
# Copyright 2003 Sami Virpioja, Ilari Lhteenmki
#
# ---
#
# This file is part of Hierarkia - Scheme Implementation.
#
# Hierarkia - Scheme Implementation is free software; you can redistribute 
# it and/or modify it under the terms of the GNU General Public License as 
# published by the Free Software Foundation; either version 2 of the 
# License, or (at your option) any later version.
#
# Hierarkia - Scheme Implementation  is distributed in the hope that it will 
# be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General 
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along 
# with Hierarkia - Scheme Implementation; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
# ---
#
# See README for more details.
#

sources = ai.scm ai_mtd.scm ai_plain.scm ai_pvs.scm ai_iter.scm ai_imtd.scm human.scm ngui.scm hierarkia.scm
libs = ai.so ai_mtd.so ai_plain.so ai_pvs.so ai_iter.so ai_imtd.so human.so ngui.so hierarkia.so

compile: $(libs)
	cp rungame-compiled.scm rungame.scm

$(libs): $(sources)
	mzc $(sources)

clean:
	rm -f $(libs)
	cp rungame-sources.scm rungame.scm
