From: ian Date: Fri, 6 Sep 2002 19:27:45 +0000 (+0000) Subject: less recompilation of hash fns. X-Git-Tag: debian/1.1.1~165 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-tcl.git;a=commitdiff_plain;h=d30ded35f199708808df64a9db9c83100e073c9f;hp=b78c59b29c46210ccbfc0fe4815b4e49fba8817b;ds=sidebyside less recompilation of hash fns. --- diff --git a/base/troglodyte-Makefile b/base/troglodyte-Makefile index 33cace8..9794ba4 100644 --- a/base/troglodyte-Makefile +++ b/base/troglodyte-Makefile @@ -20,6 +20,7 @@ AUTOS= $(AUTO_HDRS) $(AUTO_SRCS) TARGETS= hbytes.so +CC_CRYPTO= $(CC) $(CFLAGS) $(CPPFLAGS) -O3 CFLAGS= -g -Wall $(OPTIMISE) OPTIMISE= -O2 @@ -38,7 +39,13 @@ hbytes.so: $(OBJS) $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $< serpent.o: serpent.c serpent.h serpentsboxes.h - $(CC) $(CFLAGS) $(CPPFLAGS) -O3 -o $@ -c $< + $(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) *~ ./#*#