Skip to content

Commit

Permalink
missed some dependencies, MD5 is now 'inline'
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPawn committed Aug 13, 2017
1 parent 9429f78 commit 4930638
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ LIBHDR:=$(BASENAME).h
#
BIN_SRCS = privatekeypassword.c
BIN_OBJS = $(BIN_SRCS:%.c=%.o)
LIB_SRCS = pkpwd.c
LIB_SRCS = pkpwd.c md5.c
LIB_OBJS = $(LIB_SRCS:%.c=%.o)
#
# tools
Expand Down Expand Up @@ -61,12 +61,12 @@ install-lib: $(LIB_SO) $(LIB_A) $(LIBHDR)
#
# shared library
#
$(LIB_SO): $(LIB_OBJS)
$(LIB_SO): $(LIB_OBJS) $(LIBHDR) libcrypt.h
$(CC) -shared -o $@ $<
#
# static library
#
$(LIB_A): $(LIB_OBJS) $(LIBHDR)
$(LIB_A): $(LIB_OBJS) $(LIBHDR) libcrypt.h
-$(RM) $@ 2>/dev/null
$(AR) rcu $@ $<
$(RANLIB) $@
Expand All @@ -78,7 +78,7 @@ $(BINARY): $(BIN_OBJS) $(LIB_SO)
#
# everything to make, if header file changes
#
$(LIB_OBJS) $(BIN_OBJS): $(LIBHDR)
$(LIB_OBJS) $(BIN_OBJS): $(LIBHDR) libcrypt.h
#
# cleanup
#
Expand Down

0 comments on commit 4930638

Please sign in to comment.