# Makefile of tvm
#
#{{IS_NOTE
#
# Authors:	Tom M. Yeh
# Contributors:
# Create Date:	6/8/0 05:29PM
# $Header: /cvsroot/jedi/tvm/Makefile,v 1.2 2000/07/21 04:28:07 tomyeh Exp $
# Purpose:	Makefile for Thumb Virtual Machine (tvm)
# Description:
#	You shall not make this Makefile directly. Rather use the Makefile at
#	the top directory.
#
#}}IS_NOTE
#
# Copyright (C) 2000 Infoshock Corporation. All Rights Reserved.
#
#{{IS_RIGHT
#}}IS_RIGHT
#

SUBDIRS :=
B_TARGET := libtvm.a
dllname := $(shell if [ -f ../test/tvm.dll ]; then echo ../test/tvm.dll; else echo /home/bin/tvm.dll; fi)

#default rules
include $(TOPDIR)/Rules.make

# targets
$(B_TARGET) : $(dllname) dll/tvm.def
	dlltool --def dll/tvm.def --dllname $< --output-lib $@
