# tag: Makefile for the forth system kernel
#
# Copyright (C) 2003 Patrick Mauritz, Stefan Reinauer
#
# See the file "COPYING" for further information about
# the copyright and warranty status of this work.
#

OBJS_KERNEL   =  primitives.o stack.o dict.o lib.o openbios.o
INCLUDES := -I$(TOPDIR)/include -I$(BUILDDIR)

include $(TOPDIR)/Rules.make

all:	core $(OBJS_KERNEL)

core:
	echo -e "\nBuilding common core files for architecture $(ARCH)"

# dependencies. these are so small that we write them manually.
dict.o:	config.h types.h dict.h dict.c
lib.o: types.h lib.c
openbios.o: config.h types.h dict.h stack.h openbios.c
primitives.o: config.h types.h dict.h stack.h forth.c internal.c primitives.c 
stack.o: config.h types.h stack.c

