aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2019-02-09 21:13:56 +0100
committerMattias Andrée <maandree@kth.se>2019-02-09 21:13:56 +0100
commitfe4ebf90a390783f0002415af3a06ee901c641fc (patch)
treec0d353a51ee88c8f0b925f05dcf7cd10651704e2
parentFix documentation about lengths (in bits, not bytes) and fix libsha2_sum_fd (lengths are in bits) (diff)
downloadlibsha2-fe4ebf90a390783f0002415af3a06ee901c641fc.tar.gz
libsha2-fe4ebf90a390783f0002415af3a06ee901c641fc.tar.bz2
libsha2-fe4ebf90a390783f0002415af3a06ee901c641fc.tar.xz
Update makefile
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--.gitignore1
-rw-r--r--Makefile4
2 files changed, 4 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 6851f37..dcb3c86 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,4 @@ _/
*.ps
*.dvi
*.test
+*.lo
diff --git a/Makefile b/Makefile
index 72e877d..8d8b2f5 100644
--- a/Makefile
+++ b/Makefile
@@ -37,10 +37,12 @@ MAN3 =\
libsha2_behex_lower.3\
libsha2_behex_upper.3\
libsha2_digest.3\
+ libsha2_marshal.3\
libsha2_init.3\
libsha2_state_output_size.3\
libsha2_sum_fd.3\
libsha2_unhex.3\
+ libsha2_unmarshal.3\
libsha2_update.3
@@ -54,7 +56,7 @@ $(OBJ:.o=.lo): $(@:.lo=.c) $(HDR)
.c.lo:
$(CC) -fPIC -c -o $@ $< $(CFLAGS)
-libsha2.$(LIBEXT): $(OBJ)
+libsha2.$(LIBEXT): $(OBJ:.o=.lo)
$(CC) $(LIBFLAGS) -o $@ $(OBJ) $(LDFLAGS)
libsha2.a: $(OBJ)