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:
parent
06e128ab00
commit
861773bb6d
@ -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 \
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user