aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
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 -- $@