# Makefile.in for kaffe - a Java(tm) compatible virtual machine wrapper.
#
# Copyright (c) 1996 Systems Architecture Research Centre,
#		   City University, London, UK.
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# Written by Tim Wilkinson <tim@sarc.city.ac.uk>, March 1996.

.path.c=	.;..\..\kaffe
srcdir=		..\..\kaffe
prefix=		
exec_prefix=	
bindir=		c:\kaffe\bin
libdir=         
INSTALL=	
INSTALL_PROGRAM=copy
CC=		bcc32 -v -y
CFLAGS=		@includes.rsp -DKVER=\"0.4\"
LIBS=
OBJEXT=		.obj
EXEEXT=		.exe

OBJECT=		main$(OBJEXT)

all:		kaffe$(EXEEXT)

kaffe$(EXEEXT):	$(OBJECT)
		$(CC) $(CFLAGS) -ekaffe $(OBJECT) ..\kaffevm\libkaffe_vm.lib $(LIBS)

.c$(OBJEXT):
		$(CC) $(CFLAGS) -c $<

clean:
		del *.obj
		del *.exe
		del *.dll

distclean:	clean

install:
		test -d $(bindir) || mkdir -p $(bindir)
		$(INSTALL_PROGRAM) kaffe.exe $(bindir)\kaffe.exe
