
#   DMakefile for dautostart programs.	Pretty portable except for
#   its use of __aligned, which is DICE specific.  Under SAS/C
#   __aligned must be moved next to the identifier.
#
#
#   Executables should run under both 1.3 and 2.0

ED= sys:bin/
SRCS= dautostart.c loadpath.c savepath.c
EXES= $(SRCS:"*.c":"$(ED)*")
CFLAGS= -r -mRR -proto -Idinclude:amiga20/

all: $(EXES) /ex1/bin/xxx

$(EXES) : $(SRCS)
    dcc $(CFLAGS) %(right) -o %(left)

/ex1/bin/xxx : xxx.c
    dcc $(CFLAGS) %(right) -o %(left)

clear:
    delete $(EXES)
