
ObjectFiles	=		\
			o.ClickOK	\
			o.CloseW	\
			o.DeleteW	\
			o.DragFinish	\
			o.DragNULL	\
			o.HtchRedraw	\
			o.Key	\
			o.ModeChange	\
			o.NullRedraw	\
			o.OpenW	\


LibName		=	Handler

# 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.ClickOK:	^.c.ClickOK
o.ClickOK:	DeskLib:h.Wimp
o.ClickOK:	DeskLib:h.Core
o.ClickOK:	DeskLib:h.Icon
o.ClickOK:	DeskLib:h.DragASpr
o.ClickOK:	DeskLib:h.Handler
o.CloseW:	^.c.CloseW
o.CloseW:	DeskLib:h.WimpSWIS
o.CloseW:	DeskLib:h.Core
o.CloseW:	DeskLib:h.Wimp
o.CloseW:	DeskLib:h.Window
o.CloseW:	DeskLib:h.Pointer
o.CloseW:	DeskLib:h.Core
o.CloseW:	DeskLib:h.Icon
o.CloseW:	DeskLib:h.DragASpr
o.CloseW:	DeskLib:h.Window
o.CloseW:	DeskLib:h.Coord
o.CloseW:	DeskLib:h.Handler
o.DeleteW:	^.c.DeleteW
o.DeleteW:	DeskLib:h.Wimp
o.DeleteW:	DeskLib:h.Core
o.DeleteW:	DeskLib:h.Window
o.DeleteW:	DeskLib:h.WimpSWIs
o.DeleteW:	DeskLib:h.Pointer
o.DeleteW:	DeskLib:h.Core
o.DeleteW:	DeskLib:h.Icon
o.DeleteW:	DeskLib:h.DragASpr
o.DeleteW:	DeskLib:h.Window
o.DeleteW:	DeskLib:h.Coord
o.DeleteW:	DeskLib:h.Handler
o.DragFinish:	^.c.DragFinish
o.DragFinish:	DeskLib:h.Wimp
o.DragFinish:	DeskLib:h.Core
o.DragFinish:	DeskLib:h.Drag
o.DragFinish:	DeskLib:h.Handler
o.DragNULL:	^.c.DragNULL
o.DragNULL:	DeskLib:h.Wimp
o.DragNULL:	DeskLib:h.Core
o.DragNULL:	DeskLib:h.Drag
o.DragNULL:	DeskLib:h.Handler
o.HtchRedraw:	^.c.HtchRedraw
o.HtchRedraw:	DeskLib:h.WimpSWIS
o.HtchRedraw:	DeskLib:h.Core
o.HtchRedraw:	DeskLib:h.Wimp
o.HtchRedraw:	DeskLib:h.GFX
o.HtchRedraw:	DeskLib:h.Handler
o.Key:	^.c.Key
o.Key:	DeskLib:h.WimpSWIS
o.Key:	DeskLib:h.Core
o.Key:	DeskLib:h.Wimp
o.Key:	DeskLib:h.Handler
o.ModeChange:	^.c.ModeChange
o.ModeChange:	Desklib:h.Wimp
o.ModeChange:	Desklib:h.Core
o.ModeChange:	Desklib:h.Screen
o.ModeChange:	Desklib:h.Window
o.ModeChange:	Desklib:h.WimpSWIs
o.ModeChange:	Desklib:h.Pointer
o.ModeChange:	Desklib:h.Core
o.ModeChange:	Desklib:h.Icon
o.ModeChange:	Desklib:h.DragASpr
o.ModeChange:	Desklib:h.Window
o.ModeChange:	Desklib:h.Coord
o.ModeChange:	DeskLib:h.Handler
o.NullRedraw:	^.c.NullRedraw
o.NullRedraw:	DeskLib:h.WimpSWIS
o.NullRedraw:	DeskLib:h.Core
o.NullRedraw:	DeskLib:h.Wimp
o.NullRedraw:	DeskLib:h.Handler
o.OpenW:	^.c.OpenW
o.OpenW:	DeskLib:h.WimpSWIS
o.OpenW:	DeskLib:h.Core
o.OpenW:	DeskLib:h.Wimp
o.OpenW:	DeskLib:h.Handler
