AUTO_SRCS= tables.c
AUTOS= $(AUTO_HDRS) $(AUTO_SRCS)
-TARGETS= hbytes.so
+TARGETS= hbytes.so autocode.tcl autococo.tcl
CC_CRYPTO= $(CC) $(CFLAGS) $(CPPFLAGS) -O3
CFLAGS= -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror \
hbytes.so: $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ -shared $(OBJS) $(LDLIBS)
+autoco%.tcl: deco%gen.tcl decobogen.tcl general.tcl ./hbytes.so \
+ protocol.deco
+ ./$< protocol.deco >$@.new && mv -f $@.new $@
+
%.c: %.tct tcmdifgen
./tcmdifgen -wc -o$@ $<