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=2972afa9b331019c0e2a64c3bc65830c27a578dc;hb=d30ded35f199708808df64a9db9c83100e073c9f;hpb=b740135c3efcb63e0c7741384e5fa8ff229d2919 diff --git a/base/troglodyte-Makefile b/base/troglodyte-Makefile index 2972afa..9794ba4 100644 --- a/base/troglodyte-Makefile +++ b/base/troglodyte-Makefile @@ -1,6 +1,14 @@ OBJS= tables.o \ hbytes.o \ enum.o \ + chop.o \ + hook.o \ + bcmode.o \ + algtables.o \ + serpent.o \ + sha1.o \ + md5.o \ + crypto.o \ parse.o HDRS= hbytes.h \ @@ -12,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) @@ -28,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) *~ ./#*#