
ObjectFiles	=		\
			o.LoadFile	\
			o.LoadFiles	\
			o.MemSize	\
			o.MemSizeIcn	\
			o.02ScrSave	\
			o.03ScrLoad	\
			o.08ReadCont	\
			o.09InitArea	\
			o.10Load	\
			o.11Merge	\
			o.12Save	\
			o.13GetName	\
			o.15Create	\
			o.16GetUser	\
			o.24Select	\
			o.25Delete	\
			o.26Rename	\
			o.27Copy	\
			o.29CreateMa	\
			o.30RemoveMa	\
			o.31InsertRo	\
			o.32DeleteRo	\
			o.33FlipX	\
			o.34PutUser	\
			o.35Append	\
			o.37CreatePa	\
			o.37ReadPale	\
			o.37RemovePa	\
			o.40ReadInfo	\
			o.41ReadPixe	\
			o.42WritePix	\
			o.43ReadMask	\
			o.44WriteMas	\
			o.45InsertCo	\
			o.46DeleteCo	\
			o.47FlipY	\
			o.49PlotMask	\
			o.50PlotMask	\
			o.52PlotScal	\
			o.53PlotGrey	\
			o.60Redirect	\
			o.62ReadSave	\
			o.UnRedirect	\
			o.WimpPlot	\


LibName		=	Sprite

# Template makefile which makes normal 
# .o files for use in the main static
# linking DeskLib.

# The macro $(ObjectFiles) should be set at the 
# start of this file to be a space-separated
# list of object files.
# This is done by 'Makatic'.

# The macro $(LibName) should also be set at the 
# start of this file, to be the name of the 
# DeskLib sublibrary.
# This is done by 'Makatic'.

# Compiler and linker flags, These can be anything. 
# All essential flags are included in the macros 
# $(CC) and $(ASM)
#
CCFlags		=	-ffahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
ASMFlags	=	-Stamp -NoCache -CloseExec -Quit $(ASMExtra)

CC		=	cc -c $(CCFlags)
ASM		=	objasm $(ASMFlags)


# -------------------------------------------------------
# Everything below here should probably not be changed...
# -------------------------------------------------------

# Here's what we want to make...
#
All:		$(ObjectFiles)


VPATH = @.^

.SUFFIXES:	.c .s .o

.c.o:
	$(CC) $< -o $@
	
.s.o:
	$(ASM) -from $< -to $@



# Dynamic dependencies:
o.LoadFile:	^.c.LoadFile
o.LoadFile:	DeskLib:h.Core
o.LoadFile:	DeskLib:h.File
o.LoadFile:	DeskLib:h.SWI
o.LoadFile:	DeskLib:h.Sprite
o.LoadFile:	DeskLib:h.Wimp
o.LoadFile:	DeskLib:h.Coord
o.LoadFiles:	^.c.LoadFiles
o.LoadFiles:	DeskLib:h.Core
o.LoadFiles:	DeskLib:h.File
o.LoadFiles:	DeskLib:h.SWI
o.LoadFiles:	DeskLib:h.Sprite
o.LoadFiles:	DeskLib:h.Wimp
o.LoadFiles:	DeskLib:h.Coord
o.MemSize:	^.c.MemSize
o.MemSize:	DeskLib:h.Sprite
o.MemSize:	DeskLib:h.Core
o.MemSize:	DeskLib:h.Wimp
o.MemSize:	DeskLib:h.Coord
o.MemSize:	DeskLib:h.SWI
o.MemSizeIcn:	^.c.MemSizeIcn
o.MemSizeIcn:	DeskLib:h.Sprite
o.MemSizeIcn:	DeskLib:h.Core
o.MemSizeIcn:	DeskLib:h.Wimp
o.MemSizeIcn:	DeskLib:h.Coord
o.MemSizeIcn:	DeskLib:h.SWI
