
ObjectFiles	=		\
			o.Convert1	\
			o.Convert2	\
			o.Convert3	\
			o.Convert4	\
			o.PtInRect	\
			o.RectCntain	\
			o.RectsOvlap	\
			o.RectUnion	\
			o.WOrigin	\


LibName		=	Coord

# 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.Convert1:	^.c.Convert1
o.Convert1:	DeskLib:h.Core
o.Convert1:	DeskLib:h.Coord
o.Convert1:	DeskLib:h.Wimp
o.Convert1:	DeskLib:h.Wimp
o.Convert2:	^.c.Convert2
o.Convert2:	DeskLib:h.Core
o.Convert2:	DeskLib:h.Coord
o.Convert2:	DeskLib:h.Wimp
o.Convert2:	DeskLib:h.Wimp
o.Convert3:	^.c.Convert3
o.Convert3:	DeskLib:h.Core
o.Convert3:	DeskLib:h.Coord
o.Convert3:	DeskLib:h.Wimp
o.Convert3:	DeskLib:h.Wimp
o.Convert4:	^.c.Convert4
o.Convert4:	DeskLib:h.Core
o.Convert4:	Desklib:h.Coord
o.Convert4:	Desklib:h.Wimp
o.Convert4:	DeskLib:h.Wimp
o.PtInRect:	^.c.PtInRect
o.PtInRect:	DeskLib:h.Core
o.PtInRect:	DeskLib:h.Wimp
o.PtInRect:	DeskLib:h.Coord
o.RectCntain:	^.c.RectCntain
o.RectCntain:	DeskLib:h.Core
o.RectCntain:	DeskLib:h.Wimp
o.RectCntain:	DeskLib:h.Coord
o.RectsOvlap:	^.c.RectsOvlap
o.RectsOvlap:	DeskLib:h.Core
o.RectsOvlap:	DeskLib:h.Wimp
o.RectsOvlap:	DeskLib:h.Coord
o.RectUnion:	^.c.RectUnion
o.RectUnion:	DeskLib:h.Core
o.RectUnion:	DeskLib:h.Wimp
o.RectUnion:	DeskLib:h.Coord
o.WOrigin:	^.c.WOrigin
o.WOrigin:	DeskLib:h.Core
o.WOrigin:	DeskLib:h.Wimp
o.WOrigin:	DeskLib:h.Coord
