+TARGETS= hbytes.so
+
+CC_CRYPTO= $(CC) $(CFLAGS) $(CPPFLAGS) -O3
+CFLAGS= -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror \
+ $(OPTIMISE)
+OPTIMISE= -O2
+
+all: $(TARGETS) $(AUTOS)
+
+hbytes.so: $(OBJS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ -shared $(OBJS) $(LDLIBS)
+
+%.c: %.tct tcmdifgen
+ ./tcmdifgen -wc -o$@ $<
+
+%.h: %.tct tcmdifgen
+ ./tcmdifgen -wh -o$@ $<