STARTUP = lib:c.o
COFILES = clipdemo.o cbio.o
CFLAGS = -cfist -v -y
LDFLAGS = SMALLDATA SMALLCODE NODEBUG
LLIBS = LIB:lc.lib LIB:amiga.lib
TARGET = clipdemo

.c.o:
        @LC $(CFLAGS) $*

$(TARGET): $(COFILES)
        BLINK <WITH <
        FROM $(STARTUP) $(COFILES)
        TO $(TARGET)
        LIBRARY $(LLIBS)
        $(LDFLAGS)
        <

doc:
	@autodoc >cbio.doc cbio.c

backup:
	copy cbio.c cbmvax:clipboard_example/
	copy clipdemo.c cbmvax:clipboard_example/
	copy cb.h cbmvax:clipboard_example/
	copy lmkfile cbmvax:clipboard_example/
        copy cbio.doc cbmvax:clipboard_example/
        copy changehook_test.c cbmvax:clipboard_example/
        copy hookface.a cbmvax:clipboard_example/

floppy:
	copy cbio.c df1:
	copy clipdemo.c df1:
	copy cb.h df1:
	copy lmkfile df1:
        copy cbio.doc df1:
        copy changehook_test.c df1:
        copy hookface.a df1:

clipdemo.o: clipdemo.c

cbio.o: cbio.c
