Pass CFLAG to dependency makers, so non-standard system include paths are
[openssl.git] / crypto / md2 / Makefile.ssl
index 3601c906fd69de2f679b7b7ef15b420697147f6a..89a707d053ae9cc1daffd56a5c47abd755652fd2 100644 (file)
@@ -2,7 +2,7 @@
 # SSLeay/crypto/md/Makefile
 #
 
-DIR=   md
+DIR=   md2
 TOP=   ../..
 CC=    cc
 INCLUDES=
@@ -40,8 +40,7 @@ all:  lib
 
 lib:   $(LIBOBJ)
        $(AR) $(LIB) $(LIBOBJ)
-       @echo You may get an error following this line.  Please ignore.
-       - $(RANLIB) $(LIB)
+       $(RANLIB) $(LIB) || echo Never mind.
        @touch lib
 
 files:
@@ -69,7 +68,7 @@ lint:
        lint -DLINT $(INCLUDES) $(SRC)>fluff
 
 depend:
-       $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
+       $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
 
 dclean:
        $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new