From 2fd94aae29d53d9859bfc3f53777970def38e253 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 23 Aug 2024 22:36:41 +0200 Subject: Fixes + add SHA0 and SHA1 using libsha1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ac60207..dc4acb4 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,9 @@ OBJ =\ libhashsum_init_ripemd_128_hasher.o\ libhashsum_init_ripemd_160_hasher.o\ libhashsum_init_ripemd_256_hasher.o\ - libhashsum_init_ripemd_320_hasher.o + libhashsum_init_ripemd_320_hasher.o\ + libhashsum_init_sha0_hasher.o\ + libhashsum_init_sha1_hasher.o HDR =\ libhashsum.h\ @@ -37,7 +39,9 @@ TEST =\ ripemd-128.t\ ripemd-160.t\ ripemd-256.t\ - ripemd-320.t + ripemd-320.t\ + sha0.t\ + sha1.t LOBJ = $(OBJ:.o=.lo) TOBJ = $(TEST:.t=.o) @@ -56,10 +60,10 @@ $(TEST): libhashsum.a $(CC) -fPIC -c -o $@ $< $(CFLAGS) $(CPPFLAGS) .c.t: - $(CC) -o $@ $< libhashsum.a $(CFLAGS) $(CPPFLAGS) + $(CC) -o $@ $< libhashsum.a $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) .o.t: - $(CC) -o $@ $< libhashsum.a $(CFLAGS) $(CPPFLAGS) + $(CC) -o $@ $< libhashsum.a $(LDFLAGS) libhashsum.a: $(OBJ) @rm -f -- $@ -- cgit v1.2.3-70-g09d2