X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-tcl.git;a=blobdiff_plain;f=base%2Ftroglodyte-Makefile;h=8e94090f46b336968351bccb558d9fccf6ae263e;hp=765d5e45997366f09822f31b3f8e60aa728d88ba;hb=bc4e7d2673e44826dd768ad7f91c393349da24de;hpb=b30fd7b756a0664c4e1fef3e936d9aab13c0d6fe diff --git a/base/troglodyte-Makefile b/base/troglodyte-Makefile index 765d5e4..8e94090 100644 --- a/base/troglodyte-Makefile +++ b/base/troglodyte-Makefile @@ -1,17 +1,36 @@ -OBJS= hbytes.o \ - enum.o +OBJS= tables.o \ + hbytes.o \ + enum.o \ + chop.o \ + hook.o \ + bcmode.o \ + blockciph.o \ + serpent.o \ + crypto.o \ + parse.o -HDRS= hbytes.h +HDRS= hbytes.h \ + $(AUTO_HDRS) + +AUTO_HDRS= tables.h +AUTO_SRCS= tables.c +AUTOS= $(AUTO_HDRS) $(AUTO_SRCS) TARGETS= hbytes.so CFLAGS= -g -Wall -O -all: $(TARGETS) +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$@ $< + %.o: %.c $(HDRS) $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<