From d30ded35f199708808df64a9db9c83100e073c9f Mon Sep 17 00:00:00 2001 From: ian Date: Fri, 6 Sep 2002 19:27:45 +0000 Subject: [PATCH 1/1] less recompilation of hash fns. --- base/troglodyte-Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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) *~ ./#*# -- 2.30.2