# MY-HANDLER - Phillip Lindsay - (C) Commodore 1986
#
#

#DEBUG  = -dDEBUG

#DFILE  =  df0:lib/myprintf.o
#DFILE  =  df0:lib/debug.o

CFLAGS = +lcd -dMANX $(DEBUG)

LIBS   =  $(DFILE) -lc32 

OFILES = my-handler.o misc.o
HFILES = my-handler.h


.asm.o:
	as $*.asm

all: allhand ihand

allhand: $(OFILES)
	ln -w $(OFILES) $(LIBS)

my-handler.o: my-handler.c $(HFILES)

misc.o : misc.c $(HFILES)

# here is the install program

ihand: ihand.o adddosnode.o
	ln -w ihand.o adddosnode.o -lc32

ihand.o: ihand.c  

adddosnode.o: adddosnode.asm
