# Makefile for InterDesk Graphical Shell Access Library
# It is recommended that this only be invoked from the context of the
#   build command.

MODEL         = l
LIB           = l
OBJECTS       = InterDesk.o IDerrmsg.o IDquery.o IDdrag.o IDdrop.o
COMPILE_CMD   = wcc
COMPILE_FLAGS = -m$(MODEL) -2 -5 -oilrt -w3 -zc -zt1024

InterDesk$(LIB).lib   : $(OBJECTS)

.c.o:
  @echo
  $(COMPILE_CMD) $(COMPILE_FLAGS) $<
  wlib -b -c InterDesk$(LIB).lib -+$@

InterDesk.o : InterDesk.c shell_msg.h IDskLib.h
IDerrmsg.o  : IDerrmsg.c
IDquery.o   : IDquery.c shell_msg.h IDskLib.h
IDdrag.o    : IDdrag.c shell_msg.h IDskLib.h
IDdrop.o    : IDdrop.c shell_msg.h IDskLib.h
