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:
bde 1997-04-10 16:33:32 +00:00
parent 06e128ab00
commit 861773bb6d
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