
ObjectFiles	=		\
			o.Create	\
			o.Delete	\
			o.EnsureWind	\
			o.OpenClose	\
			o.OpenLeaf	\
			o.OpenMenu	\
			o.OpenPos	\
			o.OpenStatic	\


LibName		=	Dialog2

# 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.Create:	^.c.Create
o.Create:	DeskLib:h.Error
o.Create:	DeskLib:h.Core
o.Create:	DeskLib:h.Template
o.Create:	DeskLib:h.Sprite
o.Create:	DeskLib:h.Wimp
o.Create:	DeskLib:h.Coord
o.Create:	DeskLib:h.LinkList
o.Create:	DeskLib:h.Dialog2
o.Create:	DeskLib:h.Window
o.Create:	DeskLib:h.WimpSWIs
o.Create:	DeskLib:h.Pointer
o.Create:	DeskLib:h.Core
o.Create:	DeskLib:h.Icon
o.Create:	DeskLib:h.DragASpr
o.Create:	DeskLib:h.Window
o.Delete:	^.c.Delete
o.Delete:	DeskLib:h.Error
o.Delete:	DeskLib:h.Core
o.Delete:	DeskLib:h.Dialog2
o.Delete:	DeskLib:h.Wimp
o.Delete:	DeskLib:h.Window
o.Delete:	DeskLib:h.WimpSWIs
o.Delete:	DeskLib:h.Pointer
o.Delete:	DeskLib:h.Core
o.Delete:	DeskLib:h.Icon
o.Delete:	DeskLib:h.DragASpr
o.Delete:	DeskLib:h.Window
o.Delete:	DeskLib:h.Coord
o.EnsureWind:	^.c.EnsureWind
o.EnsureWind:	DeskLib:h.Window
o.EnsureWind:	DeskLib:h.Wimp
o.EnsureWind:	DeskLib:h.Core
o.EnsureWind:	DeskLib:h.WimpSWIs
o.EnsureWind:	DeskLib:h.Pointer
o.EnsureWind:	DeskLib:h.Core
o.EnsureWind:	DeskLib:h.Icon
o.EnsureWind:	DeskLib:h.DragASpr
o.EnsureWind:	DeskLib:h.Window
o.EnsureWind:	DeskLib:h.Coord
o.EnsureWind:	DeskLib:h.Dialog2
o.OpenClose:	^.c.OpenClose
o.OpenClose:	DeskLib:h.Window
o.OpenClose:	DeskLib:h.Wimp
o.OpenClose:	DeskLib:h.Core
o.OpenClose:	DeskLib:h.WimpSWIs
o.OpenClose:	DeskLib:h.Pointer
o.OpenClose:	DeskLib:h.Core
o.OpenClose:	DeskLib:h.Icon
o.OpenClose:	DeskLib:h.DragASpr
o.OpenClose:	DeskLib:h.Window
o.OpenClose:	DeskLib:h.Coord
o.OpenClose:	DeskLib:h.WimpSWIs
o.OpenClose:	DeskLib:h.Event
o.OpenClose:	DeskLib:h.Error
o.OpenClose:	DeskLib:h.Handler
o.OpenClose:	DeskLib:h.Sound
o.OpenClose:	DeskLib:h.Template
o.OpenClose:	DeskLib:h.Sprite
o.OpenClose:	DeskLib:h.LinkList
o.OpenClose:	DeskLib:h.Dialog2
o.OpenClose:	^.h.Defs
o.OpenLeaf:	^.c.OpenLeaf
o.OpenLeaf:	DeskLib:h.WimpSWIs
o.OpenLeaf:	DeskLib:h.Core
o.OpenLeaf:	DeskLib:h.Wimp
o.OpenLeaf:	^.h.Defs
o.OpenLeaf:	DeskLib:h.Event
o.OpenLeaf:	DeskLib:h.Dialog2
o.OpenLeaf:	DeskLib:h.Window
o.OpenLeaf:	DeskLib:h.Pointer
o.OpenLeaf:	DeskLib:h.Core
o.OpenLeaf:	DeskLib:h.Icon
o.OpenLeaf:	DeskLib:h.DragASpr
o.OpenLeaf:	DeskLib:h.Window
o.OpenLeaf:	DeskLib:h.Coord
o.OpenMenu:	^.c.OpenMenu
o.OpenMenu:	DeskLib:h.WimpSWIs
o.OpenMenu:	DeskLib:h.Core
o.OpenMenu:	DeskLib:h.Wimp
o.OpenMenu:	^.h.Defs
o.OpenMenu:	DeskLib:h.Event
o.OpenMenu:	DeskLib:h.Dialog2
o.OpenMenu:	DeskLib:h.Window
o.OpenMenu:	DeskLib:h.Pointer
o.OpenMenu:	DeskLib:h.Core
o.OpenMenu:	DeskLib:h.Icon
o.OpenMenu:	DeskLib:h.DragASpr
o.OpenMenu:	DeskLib:h.Window
o.OpenMenu:	DeskLib:h.Coord
o.OpenPos:	^.c.OpenPos
o.OpenPos:	DeskLib:h.Window
o.OpenPos:	DeskLib:h.Wimp
o.OpenPos:	DeskLib:h.Core
o.OpenPos:	DeskLib:h.WimpSWIs
o.OpenPos:	DeskLib:h.Pointer
o.OpenPos:	DeskLib:h.Core
o.OpenPos:	DeskLib:h.Icon
o.OpenPos:	DeskLib:h.DragASpr
o.OpenPos:	DeskLib:h.Window
o.OpenPos:	DeskLib:h.Coord
o.OpenPos:	DeskLib:h.WimpSWIs
o.OpenPos:	DeskLib:h.Dialog2
o.OpenStatic:	^.c.OpenStatic
o.OpenStatic:	^.h.Defs
o.OpenStatic:	DeskLib:h.Event
o.OpenStatic:	DeskLib:h.Core
o.OpenStatic:	DeskLib:h.Wimp
o.OpenStatic:	DeskLib:h.Dialog2
o.OpenStatic:	DeskLib:h.Window
o.OpenStatic:	DeskLib:h.WimpSWIs
o.OpenStatic:	DeskLib:h.Pointer
o.OpenStatic:	DeskLib:h.Core
o.OpenStatic:	DeskLib:h.Icon
o.OpenStatic:	DeskLib:h.DragASpr
o.OpenStatic:	DeskLib:h.Window
o.OpenStatic:	DeskLib:h.Coord
