# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#

ROOT    = ..
SHELL   = /bin/sh

#
# Tools resource directory.
#
TOOLS	= ../Tools

#
# Standard method to compile .inf files.
#
INFORM_OPTS	= # -D
GLULX_INFORM	= $(TOOLS)/inform
GLULX_FLAGS	= '$$MAX_STATIC_DATA=200000'
.SUFFIXES:
.SUFFIXES:	.inf .ulx
.inf.ulx:
	$(GLULX_INFORM) $(INFORM_OPTS) $(GLULX_FLAGS) $<

#
# Targets.
#
all:	mscpe.ulx

mscpe.ulx:	mscpe.inf mscp.inf

clean:
	rm -f *.ulx
