Fix the update target and remove duplicate file updates
[openssl.git] / crypto / krb5 / Makefile
index 36f052ef3619fc3bfff87a98b3e362fd40ca9e3d..8b9a01a296c12ebb866dccf0f4f38cb3a33093e0 100644 (file)
@@ -7,8 +7,6 @@ TOP=    ../..
 CC=    cc
 INCLUDES= -I.. -I$(TOP) -I../../include
 CFLAG=-g
-MAKEDEPPROG=   makedepend
-MAKEDEPEND=    $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
 MAKEFILE=      Makefile
 AR=            ar r
 
@@ -64,7 +62,10 @@ tests:
 lint:
        lint -DLINT $(INCLUDES) $(SRC)>fluff
 
+update: depend
+
 depend:
+       @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
        $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
 
 dclean: