diff options
author | Mattias Andrée <maandree@kth.se> | 2019-02-09 21:13:56 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2019-02-09 21:13:56 +0100 |
commit | fe4ebf90a390783f0002415af3a06ee901c641fc (patch) | |
tree | c0d353a51ee88c8f0b925f05dcf7cd10651704e2 | |
parent | Fix documentation about lengths (in bits, not bytes) and fix libsha2_sum_fd (lengths are in bits) (diff) | |
download | libsha2-fe4ebf90a390783f0002415af3a06ee901c641fc.tar.gz libsha2-fe4ebf90a390783f0002415af3a06ee901c641fc.tar.bz2 libsha2-fe4ebf90a390783f0002415af3a06ee901c641fc.tar.xz |
Update makefile
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 4 |
2 files changed, 4 insertions, 1 deletions
@@ -17,3 +17,4 @@ _/ *.ps *.dvi *.test +*.lo @@ -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) |