#
#     Makefile for Input Device ToolKit Test Routines.
#

#
#     Definitions
#

CC       =  cc
CFLAGS   =  -DMANXV5 -DTESTSHARED
OCFLAGS  =  -DMANXV5 -m0b -DTESTSHARED

LINK     =  ln
LFLAGS   =

#
#     Mains
#

MAINS    =  test1.mx test2.mx test3.mx test4.mx test5.mx test6.mx test7.mx

#
#     Objects
#

OBJS     =  test1.mo test2.mo test3.mo test4.mo test5.mo test6.mo test7.mo

#
#     Rules
#

.c.mo :
   $(CC) $(CFLAGS) $*.c -O $*.mo

.mo.mx :
   $(LINK) $(LFLAGS) $*.mo -lInputGlue -lc -O $*.mx

#
#     Dependancies
#

Maker :                    $(OBJS) $(MAINS)

CLEANUP :
   delete $(OBJS)
   delete $(MAINS)

