From fe4ebf90a390783f0002415af3a06ee901c641fc Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 9 Feb 2019 21:13:56 +0100 Subject: Update makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- .gitignore | 1 + Makefile | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3-70-g09d2