obj.MACHINE takes precedence over obj

This commit is contained in:
cgd 1993-12-20 13:35:26 +00:00
parent 6e10086367
commit f92e10ca14
1 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
# from: @(#)Makefile 6.1 (Berkeley) 3/3/91 # from: @(#)Makefile 6.1 (Berkeley) 3/3/91
# $Id: Makefile,v 1.13 1993/12/20 13:13:02 davidb Exp $ # $Id: Makefile,v 1.14 1993/12/20 13:35:26 cgd Exp $
.include "config/Makefile.$(MACHINE_ARCH)" .include "config/Makefile.$(MACHINE_ARCH)"
@ -13,10 +13,10 @@ gas_target=$(MACHINE_ARCH)
gas_objformat=aout gas_objformat=aout
.endif .endif
.if exists(${.CURDIR}/obj) .if exists(${.CURDIR}/obj.${MACHINE})
ADDINCLUDE=-I${.CURDIR}/obj
.elif exists(${.CURDIR}/obj.${MACHINE})
ADDINCLUDE=-I${.CURDIR}/obj.${MACHINE} ADDINCLUDE=-I${.CURDIR}/obj.${MACHINE}
.elif exists(${.CURDIR}/obj)
ADDINCLUDE=-I${.CURDIR}/obj
.endif .endif
PROG= as PROG= as