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 $@.
This commit is contained in:
Bruce Evans 1997-04-10 16:33:32 +00:00
parent 3fdee18f30
commit 16ecf60500
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24793
2 changed files with 4 additions and 12 deletions

View File

@ -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 \

View File

@ -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