# makefile for RexxFuncHost module and demo
# Lattice 'C'


CFLAGS= -b1 -cft -mat -q3e -r1s -j85e -j86e -j87e -j88e -O -d0 -v


# Rule to make a 32 bit int object file
.c.o:
	lc $(CFLAGS)  -o$@  $*.c


rh_demo:	rh_demo.o   rexxfunchost.o
	blink   NODEBUG BATCH VERBOSE \
		DEFINE __main=__tinymain \
		FROM   LIB:cback.o  $@.o   rexxfunchost.o  LIB:rexxglue.o \
		LIBRARY  LIB:lc.lib  LIB:amiga.lib \
		TO  $@


rh_demo.o:		rh_demo.c   rexxfunchost.h

rexxfunchost.o:		rexxfunchost.c   rexxfunchost.h

