diff options
author | Mattias Andrée <maandree@kth.se> | 2024-08-23 22:36:41 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-08-23 22:40:29 +0200 |
commit | 2fd94aae29d53d9859bfc3f53777970def38e253 (patch) | |
tree | e45573486f44271d75ee22284953e5dcde303ca5 /Makefile | |
parent | First commit (diff) | |
download | libhashsum-2fd94aae29d53d9859bfc3f53777970def38e253.tar.gz libhashsum-2fd94aae29d53d9859bfc3f53777970def38e253.tar.bz2 libhashsum-2fd94aae29d53d9859bfc3f53777970def38e253.tar.xz |
Fixes + add SHA0 and SHA1 using libsha1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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 -- $@ |