From 861773bb6d65ee8f97fd6701a2fb61776feffca2 Mon Sep 17 00:00:00 2001 From: bde Date: Thu, 10 Apr 1997 16:33:32 +0000 Subject: [PATCH] Fixed bogus existence test related to searching for a nearby obj directory. The object (= current) directory always exists, so don't search for it. Use ${.TARGET} instead of deprecated $@. --- gnu/lib/libgmp/Makefile | 8 ++------ gnu/lib/libmp/Makefile | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/gnu/lib/libgmp/Makefile b/gnu/lib/libgmp/Makefile index cbed05972683..805f804aeb88 100644 --- a/gnu/lib/libgmp/Makefile +++ b/gnu/lib/libgmp/Makefile @@ -1,5 +1,5 @@ # -# $Id$ +# $Id: Makefile,v 1.10 1997/02/22 15:42:57 peter Exp $ # LIB= gmp @@ -82,11 +82,7 @@ CLEANFILES+= sysdep.h asm-syntax.h # .PATH:s # mpz mpf mpq: -.if exists(${.OBJDIR}) - mkdir ${.OBJDIR}/$@ -.else - mkdir ${.CURDIR}/$@ -.endif + mkdir ${.TARGET} CLEANDIRS+= ${.OBJDIR}/mpz ${.CURDIR}/mpz \ ${.OBJDIR}/mpf ${.CURDIR}/mpf \ diff --git a/gnu/lib/libmp/Makefile b/gnu/lib/libmp/Makefile index d8c83bd0b507..4d32cdb33c67 100644 --- a/gnu/lib/libmp/Makefile +++ b/gnu/lib/libmp/Makefile @@ -1,5 +1,5 @@ # -# $Id$ +# $Id: Makefile,v 1.10 1997/02/22 15:43:00 peter Exp $ # LIB= mp @@ -45,11 +45,7 @@ CLEANFILES+= sysdep.h asm-syntax.h # .PATH:s # mpz: -.if exists(${.OBJDIR}) - mkdir ${.OBJDIR}/$@ -.else - mkdir ${.CURDIR}/$@ -.endif + mkdir ${.TARGET} CLEANDIRS+= ${.OBJDIR}/mpz ${.CURDIR}/mpz