
ObjectFiles	=		\
			o.CreatDstry	\
			o.Hide	\
			o.Show	\
			o.ShowAt	\
			o.ShowStatic	\
			o.Wait4Click	\


LibName		=	Dialog

# 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.CreatDstry:	^.c.CreatDstry
o.CreatDstry:	DeskLib:h.Wimp
o.CreatDstry:	DeskLib:h.Core
o.CreatDstry:	DeskLib:h.WimpSWIs
o.CreatDstry:	DeskLib:h.Dialog
o.CreatDstry:	DeskLib:h.Window
o.CreatDstry:	DeskLib:h.Pointer
o.CreatDstry:	DeskLib:h.Core
o.CreatDstry:	DeskLib:h.Icon
o.CreatDstry:	DeskLib:h.DragASpr
o.CreatDstry:	DeskLib:h.Window
o.CreatDstry:	DeskLib:h.Coord
o.CreatDstry:	DeskLib:h.Event
o.CreatDstry:	DeskLib:h.Window
o.Hide:	^.c.Hide
o.Hide:	DeskLib:h.Wimp
o.Hide:	DeskLib:h.Core
o.Hide:	DeskLib:h.WimpSWIs
o.Hide:	DeskLib:h.Dialog
o.Hide:	DeskLib:h.Window
o.Hide:	DeskLib:h.Pointer
o.Hide:	DeskLib:h.Core
o.Hide:	DeskLib:h.Icon
o.Hide:	DeskLib:h.DragASpr
o.Hide:	DeskLib:h.Window
o.Hide:	DeskLib:h.Coord
o.Hide:	DeskLib:h.Screen
o.Show:	^.c.Show
o.Show:	DeskLib:h.Wimp
o.Show:	DeskLib:h.Core
o.Show:	DeskLib:h.WimpSWIs
o.Show:	DeskLib:h.Dialog
o.Show:	DeskLib:h.Window
o.Show:	DeskLib:h.Pointer
o.Show:	DeskLib:h.Core
o.Show:	DeskLib:h.Icon
o.Show:	DeskLib:h.DragASpr
o.Show:	DeskLib:h.Window
o.Show:	DeskLib:h.Coord
o.Show:	DeskLib:h.Screen
o.ShowAt:	^.c.ShowAt
o.ShowAt:	DeskLib:h.Wimp
o.ShowAt:	DeskLib:h.Core
o.ShowAt:	DeskLib:h.WimpSWIs
o.ShowAt:	DeskLib:h.Dialog
o.ShowAt:	DeskLib:h.Window
o.ShowAt:	DeskLib:h.Pointer
o.ShowAt:	DeskLib:h.Core
o.ShowAt:	DeskLib:h.Icon
o.ShowAt:	DeskLib:h.DragASpr
o.ShowAt:	DeskLib:h.Window
o.ShowAt:	DeskLib:h.Coord
o.ShowStatic:	^.c.ShowStatic
o.ShowStatic:	DeskLib:h.Wimp
o.ShowStatic:	DeskLib:h.Core
o.ShowStatic:	DeskLib:h.WimpSWIs
o.ShowStatic:	DeskLib:h.Dialog
o.ShowStatic:	DeskLib:h.Window
o.ShowStatic:	DeskLib:h.Pointer
o.ShowStatic:	DeskLib:h.Core
o.ShowStatic:	DeskLib:h.Icon
o.ShowStatic:	DeskLib:h.DragASpr
o.ShowStatic:	DeskLib:h.Window
o.ShowStatic:	DeskLib:h.Coord
o.ShowStatic:	DeskLib:h.Window
o.Wait4Click:	^.c.Wait4Click
o.Wait4Click:	DeskLib:h.Wimp
o.Wait4Click:	DeskLib:h.Core
o.Wait4Click:	DeskLib:h.WimpSWIs
o.Wait4Click:	DeskLib:h.Dialog
o.Wait4Click:	DeskLib:h.Window
o.Wait4Click:	DeskLib:h.Pointer
o.Wait4Click:	DeskLib:h.Core
o.Wait4Click:	DeskLib:h.Icon
o.Wait4Click:	DeskLib:h.DragASpr
o.Wait4Click:	DeskLib:h.Window
o.Wait4Click:	DeskLib:h.Coord
o.Wait4Click:	DeskLib:h.Event
