X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-tcl.git;a=blobdiff_plain;f=base%2Ftroglodyte-Makefile;h=9794ba49c2b172e297f8efe78adc22bf17977979;hp=784273a2b86d7fe3431eacd7fc4a1e16e9d1bce1;hb=d30ded35f199708808df64a9db9c83100e073c9f;hpb=2cf1bfc63e73a424f9f3899c204025a8346b38e0 diff --git a/base/troglodyte-Makefile b/base/troglodyte-Makefile index 784273a..9794ba4 100644 --- a/base/troglodyte-Makefile +++ b/base/troglodyte-Makefile @@ -3,6 +3,12 @@ OBJS= tables.o \ enum.o \ chop.o \ hook.o \ + bcmode.o \ + algtables.o \ + serpent.o \ + sha1.o \ + md5.o \ + crypto.o \ parse.o HDRS= hbytes.h \ @@ -14,7 +20,9 @@ AUTOS= $(AUTO_HDRS) $(AUTO_SRCS) TARGETS= hbytes.so -CFLAGS= -g -Wall -O +CC_CRYPTO= $(CC) $(CFLAGS) $(CPPFLAGS) -O3 +CFLAGS= -g -Wall $(OPTIMISE) +OPTIMISE= -O2 all: $(TARGETS) $(AUTOS) @@ -30,5 +38,14 @@ hbytes.so: $(OBJS) %.o: %.c $(HDRS) $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $< +serpent.o: serpent.c serpent.h serpentsboxes.h + $(CC_CRYPTO) -o $@ -c $< + +md5.o: md5.c md5.h + $(CC_CRYPTO) -o $@ -c $< + +sha1.o: sha1.c sha1.h + $(CC_CRYPTO) -o $@ -c $< + clean: rm -f $(OBJS) $(TARGETS) *~ ./#*#