($(objpfx)rpc-proto.c): Create subdir before generating file.
authordrepper <drepper>
Wed, 5 Mar 1997 03:27:12 +0000 (03:27 +0000)
committerdrepper <drepper>
Wed, 5 Mar 1997 03:27:12 +0000 (03:27 +0000)
sunrpc/Makefile

index 2cc64cc..1981c75 100644 (file)
@@ -155,6 +155,7 @@ $(objpfx)rpc-proto.d: $(objpfx)%.d: $(objpfx)%.c
 # Special file to generate dependencies for the RPC service objects.
 # Collect all include directives from the source files.
 $(objpfx)rpc-proto.c: $(rpcsvc:%=rpcsvc/%)
+       $(make-target-directory)
        { echo '#include <rpc/types.h>'; \
          echo '#include <rpc/xdr.h>'; \
          echo '#include <rpc/rpc.h>'; \