
CFLAGS= +BCDL +Icomp:include/symbols.m

SRC1 = pipe.c
SRC2 = misc.c
OBJ1 = vd0:pipe.o
OBJ2 = vd0:misc.o

OBJS= $(OBJ1) $(OBJ2)

all: $(OBJS)
    ln -W +Q $(OBJS) -lsup32 -lcl32 -O l:pipe-handler

$(OBJ1): $(SRC1)
    cc $(CFLAGS) $(SRC1) -o $(OBJ1)

$(OBJ2): $(SRC2)
    cc $(CFLAGS) $(SRC2) -o $(OBJ2)

arc:
    -delete ram:pipe.arc
    arc a ram:pipe README pipe.doc makefile mountlist pipe.c misc.c l:pipe-handler

