Avoid application relink on every make invocation.
authorAndy Polyakov <appro@openssl.org>
Fri, 20 Oct 2006 11:23:35 +0000 (11:23 +0000)
committerAndy Polyakov <appro@openssl.org>
Fri, 20 Oct 2006 11:23:35 +0000 (11:23 +0000)
engines/Makefile
engines/ccgost/Makefile

index 9bd9f42ff416c5a242df7db7f0c5377f3d57141e..f9bd86ec99792015963cd066f097c61172bb93fa 100644 (file)
@@ -65,9 +65,9 @@ ALL=    $(GENERAL) $(SRC) $(HEADER)
 top:
        (cd ..; $(MAKE) DIRS=$(DIR) all)
 
-all:   lib
+all:   lib subdirs
 
-lib:   $(LIBOBJ) subdirs
+lib:   $(LIBOBJ)
        @if [ -n "$(SHARED_LIBS)" ]; then \
                set -e; \
                for l in $(LIBNAMES); do \
index 0c3750bb8c2ed2e124b2911654ec353db335f5ef..abd931a0c41529bbfa6c2416c534d5d874c40aa8 100644 (file)
@@ -37,6 +37,7 @@ lib: $(LIBOBJ)
        else \
                $(AR) $(LIB) $(LIBOBJ); \
        fi
+       @touch lib
 
 install:       
        [ -n "$(INSTALLTOP)" ] # should be set by top Makefile...