
ObjectFiles	=		\
			o.ClearAll	\
			o.Clone	\
			o.Delete	\
			o.Find	\
			o.Free	\
			o.Init	\
			o.LinkSprite	\
			o.LoadFile	\
			o.UseOutFont	\
			o.UseSprite	\


LibName		=	Template

# 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.ClearAll:	^.c.ClearAll
o.ClearAll:	^.h.TempDefs
o.ClearAll:	DeskLib:h.LinkList
o.ClearAll:	DeskLib:h.Core
o.ClearAll:	DeskLib:h.WimpSWIs
o.ClearAll:	DeskLib:h.Wimp
o.ClearAll:	DeskLib:h.Error
o.ClearAll:	DeskLib:h.Resource
o.ClearAll:	DeskLib:h.Sprite
o.ClearAll:	DeskLib:h.Coord
o.ClearAll:	DeskLib:h.Template
o.ClearAll:	DeskLib:h.StringCR
o.ClearAll:	DeskLib:h.Str
o.ClearAll:	DeskLib:h.Font
o.Clone:	^.c.Clone
o.Clone:	^.h.TempDefs
o.Clone:	DeskLib:h.LinkList
o.Clone:	DeskLib:h.Core
o.Clone:	DeskLib:h.WimpSWIs
o.Clone:	DeskLib:h.Wimp
o.Clone:	DeskLib:h.Error
o.Clone:	DeskLib:h.Resource
o.Clone:	DeskLib:h.Sprite
o.Clone:	DeskLib:h.Coord
o.Clone:	DeskLib:h.Template
o.Clone:	DeskLib:h.StringCR
o.Clone:	DeskLib:h.Str
o.Delete:	^.c.Delete
o.Delete:	^.h.TempDefs
o.Delete:	DeskLib:h.LinkList
o.Delete:	DeskLib:h.Core
o.Delete:	DeskLib:h.WimpSWIs
o.Delete:	DeskLib:h.Wimp
o.Delete:	DeskLib:h.Error
o.Delete:	DeskLib:h.Resource
o.Delete:	DeskLib:h.Sprite
o.Delete:	DeskLib:h.Coord
o.Delete:	DeskLib:h.Template
o.Delete:	DeskLib:h.StringCR
o.Delete:	DeskLib:h.Str
o.Find:	^.c.Find
o.Find:	DeskLib:h.GFX
o.Find:	^.h.TempDefs
o.Find:	DeskLib:h.LinkList
o.Find:	DeskLib:h.Core
o.Find:	DeskLib:h.WimpSWIs
o.Find:	DeskLib:h.Wimp
o.Find:	DeskLib:h.Error
o.Find:	DeskLib:h.Resource
o.Find:	DeskLib:h.Sprite
o.Find:	DeskLib:h.Coord
o.Find:	DeskLib:h.Template
o.Find:	DeskLib:h.StringCR
o.Find:	DeskLib:h.Str
o.Free:	^.c.Free
o.Free:	^.h.TempDefs
o.Free:	DeskLib:h.LinkList
o.Free:	DeskLib:h.Core
o.Free:	DeskLib:h.WimpSWIs
o.Free:	DeskLib:h.Wimp
o.Free:	DeskLib:h.Error
o.Free:	DeskLib:h.Resource
o.Free:	DeskLib:h.Sprite
o.Free:	DeskLib:h.Coord
o.Free:	DeskLib:h.Template
o.Free:	DeskLib:h.StringCR
o.Free:	DeskLib:h.Str
o.Init:	^.c.Init
o.Init:	^.h.TempDefs
o.Init:	DeskLib:h.LinkList
o.Init:	DeskLib:h.Core
o.Init:	DeskLib:h.WimpSWIs
o.Init:	DeskLib:h.Wimp
o.Init:	DeskLib:h.Error
o.Init:	DeskLib:h.Resource
o.Init:	DeskLib:h.Sprite
o.Init:	DeskLib:h.Coord
o.Init:	DeskLib:h.Template
o.Init:	DeskLib:h.StringCR
o.Init:	DeskLib:h.Str
o.LinkSprite:	^.c.LinkSprite
o.LinkSprite:	DeskLib:h.Wimp
o.LinkSprite:	DeskLib:h.Core
o.LinkSprite:	DeskLib:h.Sprite
o.LinkSprite:	DeskLib:h.Coord
o.LinkSprite:	DeskLib:h.Template
o.LinkSprite:	DeskLib:h.LinkList
o.LoadFile:	^.c.LoadFile
o.LoadFile:	^.h.TempDefs
o.LoadFile:	DeskLib:h.LinkList
o.LoadFile:	DeskLib:h.Core
o.LoadFile:	DeskLib:h.WimpSWIs
o.LoadFile:	DeskLib:h.Wimp
o.LoadFile:	DeskLib:h.Error
o.LoadFile:	DeskLib:h.Resource
o.LoadFile:	DeskLib:h.Sprite
o.LoadFile:	DeskLib:h.Coord
o.LoadFile:	DeskLib:h.Template
o.LoadFile:	DeskLib:h.StringCR
o.LoadFile:	DeskLib:h.Str
o.UseOutFont:	^.c.UseOutFont
o.UseOutFont:	^.h.TempDefs
o.UseOutFont:	DeskLib:h.LinkList
o.UseOutFont:	DeskLib:h.Core
o.UseOutFont:	DeskLib:h.WimpSWIs
o.UseOutFont:	DeskLib:h.Wimp
o.UseOutFont:	DeskLib:h.Error
o.UseOutFont:	DeskLib:h.Resource
o.UseOutFont:	DeskLib:h.Sprite
o.UseOutFont:	DeskLib:h.Coord
o.UseOutFont:	DeskLib:h.Template
o.UseOutFont:	DeskLib:h.StringCR
o.UseOutFont:	DeskLib:h.Str
o.UseOutFont:	DeskLib:h.Font
o.UseSprite:	^.c.UseSprite
o.UseSprite:	^.h.TempDefs
o.UseSprite:	DeskLib:h.LinkList
o.UseSprite:	DeskLib:h.Core
o.UseSprite:	DeskLib:h.WimpSWIs
o.UseSprite:	DeskLib:h.Wimp
o.UseSprite:	DeskLib:h.Error
o.UseSprite:	DeskLib:h.Resource
o.UseSprite:	DeskLib:h.Sprite
o.UseSprite:	DeskLib:h.Coord
o.UseSprite:	DeskLib:h.Template
o.UseSprite:	DeskLib:h.StringCR
o.UseSprite:	DeskLib:h.Str
