obj.MACHINE takes precedence over obj
This commit is contained in:
parent
6e10086367
commit
f92e10ca14
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue