#   Note:  In terms of compiling, if you do not have Matt's latest
#   support library you may have to do some hacking to get the
#   code to link.
#
#   The precompiled symbol table, SYMBOLS.M, is *only* the AMIGA includes
#   .. */*.h (exec/*.h, etc....).  When generating a precompiled symbol
#   table remember to use the +L compiler option.

CFLAGS= +L -Idme:include -Idme:sup32lib +Ivd0:include/symbols.m
OBJS= rex.o rexxglue.o
ASMS= rex.asm
SRCS= rex.c
HDR=  defs.h rexx.h

.c.o:
    cc $(CFLAGS) -o $@ $*.c

.c.asm:
    cc $(CFLAGS) -A -o ram:$@ $*.c


all: $(OBJS)
    ln +Q $(OBJS) -lsup32 -lc32 -O rex

