BASE_DIR = ../base
EXTBASE = cdb
-CFILES = cdb
+CFILES = readonly writeable lookup
OTHER_TCTS = ../hbytes/hbytes-base.tct
CPPFLAGS += -I../hbytes
-LDLIBS += ../hbytes/chiark_tcl_hbytes.so -ltinycdb
+LDLIBS += ../hbytes/chiark_tcl_hbytes.so -lcdb
include ../base/extension.make
+# eg, for testing:
+# liberator:cdb> LD_LIBRARY_PATH=../base:../hbytes:. tclsh8.3
+# % load chiark_tcl_cdb.so
+# % cdb
+# wrong # args: should be "cdb subcmd ..."
+# % cdb open
+# wrong # args: should be "cdb open path"
+# %
+# liberator:cdb>