#
# Change the following symbols to suit your system.
# CC is the C compiler used to compile the compiler.
# LD is the linker used (usually Link or Link590L, or somesuch).
# CLIB is the C library - typically $.arm.clib.o.AnsiLib/l
# CFLAGS are the compiler flags with which to compile each source.
# LINKFLAGS are typically unused (passed to the linker).
#
# These definitions define the preferred earliest versions of the
# tools you'll need.
#
CC=cc
CFLAGS= -c -o $@ -IC: -throwback
LD=Link 
AS=ObjAsm
LIBFILE=libfile
ASMFLAGS=-quit -stamp -closeexec
OBJFLAGS=

# Blurgh1

Battle:	 o.Battle o.rand o.basic C:o.RISC_OSLib Clib:o.Stubs
         $(LD) -c o.Battle o.rand o.basic C:o.RISC_OSLib Clib:o.Stubs -o Battle -aif

# Dependencies:
o.Battle:	c.Battle
	$(CC) $(CFLAGS) c.Battle

o.rand:	c.rand h.rand h.h-type
	$(CC) $(CFLAGS) c.rand

o.basic:	c.basic h.basic
	$(CC) $(CFLAGS) c.basic